From 143bb29c1ac3f959f44b8fe59adef4d1840bc393 Mon Sep 17 00:00:00 2001 From: Brad Daily Date: Wed, 19 Feb 2014 15:24:15 -0600 Subject: [PATCH] Fixes #66714: imageconvolution breakage in 5.5.9 5.5.9 included some GD fixes related to #66356. One of those fixes changed the above section of imageconvolution, but the variable was mistyped. --- ext/gd/gd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index ab4ab2df56..0c4a0b36ff 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4879,7 +4879,7 @@ PHP_FUNCTION(imageconvolution) if (zend_hash_index_find(Z_ARRVAL_PP(var), (j), (void **) &var2) == SUCCESS) { if (Z_TYPE_PP(var2) != IS_DOUBLE) { zval dval; - dval = **var; + dval = **var2; zval_copy_ctor(&dval); convert_to_double(&dval); matrix[i][j] = (float)Z_DVAL(dval); -- 2.50.1