diff options
author | Antony Dovgal <tony2001@php.net> | 2004-12-09 15:07:56 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-12-09 15:07:56 +0000 |
commit | 5dbe3f6f4fc5004be1f3635e7baf00f001432a8f (patch) | |
tree | 749fc4bcb03b46f55c98f993c2c5106e3e604fb8 /ext/pcre/php_pcre.c | |
parent | e76824c91fd428b663dd14dfbabe9501e26f360d (diff) | |
download | php-git-5dbe3f6f4fc5004be1f3635e7baf00f001432a8f.tar.gz |
fix 1-byte leak
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 6f5a7aea66..f3668a8b3a 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -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) { |