--- embedaddon/php/ext/gd/libgd/gd_png.c 2012/02/21 23:47:56 1.1.1.1 +++ embedaddon/php/ext/gd/libgd/gd_png.c 2013/07/22 01:31:50 1.1.1.2 @@ -127,8 +127,8 @@ gdImagePtr gdImageCreateFromPngCtx (gdIOCtx * infile) png_color_16p trans_gray_rgb; png_color_16p trans_color_rgb; png_bytep trans; - png_bytep image_data = NULL; - png_bytepp row_pointers = NULL; + volatile png_bytep image_data = NULL; + volatile png_bytepp row_pointers = NULL; gdImagePtr im = NULL; int i, j, *open = NULL; volatile int transparent = -1;