]> granicus.if.org Git - php/commitdiff
Fix bug #73208 - another missing length check
authorStanislav Malyshev <stas@php.net>
Mon, 3 Oct 2016 07:12:14 +0000 (00:12 -0700)
committerStanislav Malyshev <stas@php.net>
Mon, 3 Oct 2016 07:12:14 +0000 (00:12 -0700)
ext/imap/php_imap.c

index 8fe9de9ea8a4c4bf0c1ba65faf609c73cf3d7c42..564473b73823437b18016d3126cdb09203f1b879 100644 (file)
@@ -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);
 }
 /* }}} */