diff options
author | Pierre Joye <pierre.php@gmail.com> | 2016-06-29 09:36:26 +0700 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2016-06-29 09:36:26 +0700 |
commit | a6a0e7feabb2a9738086a5dc96348f233c87fa79 (patch) | |
tree | 0e1b76009e79202740761ef8649e47fa9c22fc7c /tests/gd2 | |
parent | 48bbc25ece13e0eba9b3e9942bb892387c4ec1c3 (diff) | |
download | libgd-a6a0e7feabb2a9738086a5dc96348f233c87fa79.tar.gz |
fix php bug 72339 (CVE-2016-5766), Integer Overflow in _gd2GetHeader() resulting in heap overflow. Sync with php's sync
Diffstat (limited to 'tests/gd2')
-rw-r--r-- | tests/gd2/php_bug_72339.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gd2/php_bug_72339.c b/tests/gd2/php_bug_72339.c index d128654..f421e72 100644 --- a/tests/gd2/php_bug_72339.c +++ b/tests/gd2/php_bug_72339.c @@ -15,7 +15,7 @@ int main() return 0; } else { gdTestErrorMsg("Image should have failed to be loaded"); - return 0; + return 1; } } |