-
-
Save anonymous/d65c900a4e4e46c5a7ca4e806dfc9e94 to your computer and use it in GitHub Desktop.
Patch for 73208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit ef801b9bf96fb46b0418772a11a9b38f52cd93b4 | |
Author: Stanislav Malyshev <stas@php.net> | |
Date: Mon Oct 3 00:12:14 2016 -0700 | |
Fix bug #73208 - another missing length check | |
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); | |
} | |
/* }}} */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment