mirror of
https://github.com/php/php-src.git
synced 2025-01-22 03:34:19 +08:00
fix 1-byte leak
This commit is contained in:
parent
e76824c91f
commit
5dbe3f6f4f
@ -1416,7 +1416,7 @@ PHP_FUNCTION(preg_quote)
|
||||
|
||||
/* Nothing to do if we got an empty string */
|
||||
if (in_str == in_str_end) {
|
||||
RETVAL_STRINGL("", 0, 1);
|
||||
RETVAL_STRINGL("", 0, 0);
|
||||
}
|
||||
|
||||
if (ZEND_NUM_ARGS() == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user