blob: ef3ed627b5779d29636c051d0407c8763f1ed111 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdio.h>
#include <stdlib.h>
#include "gd.h"
#include "gdtest.h"
int main()
{
gdImagePtr im;
FILE *fp;
fp = gdTestFileOpen2("gd2", "php_bug_72339_exp.gd2");
im = gdImageCreateFromGd2(fp);
if (im == NULL) {
return 0;
} else {
gdTestErrorMsg("Image should have failed to be loaded\n");
return 1;
}
}
|