Skip to content

Commit b52d710

Browse files
author
foobar
committed
MFH (this caused segfault)
1 parent e28b6a1 commit b52d710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/gd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ PHP_FUNCTION(imagesetstyle)
532532
}
533533

534534
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
535-
convert_to_array_ex(dither);
535+
convert_to_array_ex(styles);
536536

537537
/* copy the style values in the stylearr */
538538
stylearr = emalloc(sizeof(int) * zend_hash_num_elements(HASH_OF(*styles)));

0 commit comments

Comments
 (0)