com php-src: fix #64725, wrong res check: ext/gd/gd.c
| From: | Pierre Joye | Date: | Sat, 27 Apr 2013 15:52:30 +0000 |
| Subject: | com php-src: fix #64725, wrong res check: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72055@lists.php.net to get a copy of this message | ||
Commit: 25c9f34c9c48cfca70d3e9a154255ef75efd3454
Author: Pierre Joye <pierre.php@gmail.com> Sat, 27 Apr 2013 17:52:30 +0200
Parents: 2809afa1196bd73c3a5e5c119bd1d7db3cf45844
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25c9f34c9c48cfca70d3e9a154255ef75efd3454
Log:
fix #64725, wrong res check
Bugs:
https://bugs.php.net/64725
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 60056d1...4e118d1 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -5576,7 +5576,7 @@ PHP_FUNCTION(imageaffinematrixget)
RETURN_FALSE;
}
- if (res = GD_FALSE) {
+ if (res == GD_FALSE) {
RETURN_FALSE;
} else {
array_init(return_value);