com php-src: Fix bug #73208 - another missing length check: ext/imap/php_imap.c

From: Date: Mon, 03 Oct 2016 07:12:14 +0000
Subject: com php-src: Fix bug #73208 - another missing length check: ext/imap/php_imap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94925@lists.php.net to get a copy of this message
Commit: ef801b9bf96fb46b0418772a11a9b38f52cd93b4 Author: Stanislav Malyshev <stas@php.net> Mon, 3 Oct 2016 00:12:14 -0700 Parents: 40e7baab3c90001beee4c8f0ed0ef79ad18ee0d6 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ef801b9bf96fb46b0418772a11a9b38f52cd93b4 Log: Fix bug #73208 - another missing length check Bugs: https://bugs.php.net/73208 Changed paths: M ext/imap/php_imap.c Diff: diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 8fe9de9..564473b 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2523,7 +2523,7 @@ PHP_FUNCTION(imap_8bit) RETURN_FALSE; } - RETVAL_STRINGL(decode, newlength, 1); + RETVAL_STRINGL_CHECK(decode, newlength, 1); fs_give((void**) &decode); } /* }}} */

« previous php.cvs (#94925) next »