mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
These need to be volatile in order to prevent leaking after the
longjmp in the error handler
This commit is contained in:
parent
7bcb8780e0
commit
261e32f623
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@ gdImagePtr gdImageCreateFromPngCtx (gdIOCtx * infile)
|
||||||
png_color_16p trans_gray_rgb;
|
png_color_16p trans_gray_rgb;
|
||||||
png_color_16p trans_color_rgb;
|
png_color_16p trans_color_rgb;
|
||||||
png_bytep trans;
|
png_bytep trans;
|
||||||
png_bytep image_data = NULL;
|
volatile png_bytep image_data = NULL;
|
||||||
png_bytepp row_pointers = NULL;
|
volatile png_bytepp row_pointers = NULL;
|
||||||
gdImagePtr im = NULL;
|
gdImagePtr im = NULL;
|
||||||
int i, j, *open = NULL;
|
int i, j, *open = NULL;
|
||||||
volatile int transparent = -1;
|
volatile int transparent = -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue