0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.92.213


Current Path : /var/www/html/suk_discontinued/libgd-gd-2.2.3/tests/gd2/
Upload File :
Current File : /var/www/html/suk_discontinued/libgd-gd-2.2.3/tests/gd2/php_bug_72339.c

#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");
		return 1;
	}

}