tony2001                Thu Dec  9 10:07:57 2004 EDT

  Modified files:              
    /php-src/ext/pcre   php_pcre.c 
  Log:
  fix 1-byte leak
  
  
http://cvs.php.net/diff.php/php-src/ext/pcre/php_pcre.c?r1=1.161&r2=1.162&ty=u
Index: php-src/ext/pcre/php_pcre.c
diff -u php-src/ext/pcre/php_pcre.c:1.161 php-src/ext/pcre/php_pcre.c:1.162
--- php-src/ext/pcre/php_pcre.c:1.161   Wed Aug 25 16:48:48 2004
+++ php-src/ext/pcre/php_pcre.c Thu Dec  9 10:07:56 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_pcre.c,v 1.161 2004/08/25 20:48:48 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.162 2004/12/09 15:07:56 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1416,7 +1416,7 @@
 
        /* 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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to