nlopess Sun Jul 6 15:23:44 2008 UTC
Modified files:
/php-src/ext/pcre/pcrelib pcre_compile.c
Log:
MFB: fix CVE-2008-2371
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/pcrelib/pcre_compile.c?r1=1.12&r2=1.13&diff_format=u
Index: php-src/ext/pcre/pcrelib/pcre_compile.c
diff -u php-src/ext/pcre/pcrelib/pcre_compile.c:1.12
php-src/ext/pcre/pcrelib/pcre_compile.c:1.13
--- php-src/ext/pcre/pcrelib/pcre_compile.c:1.12 Sun Jul 6 15:18:00 2008
+++ php-src/ext/pcre/pcrelib/pcre_compile.c Sun Jul 6 15:23:44 2008
@@ -4929,7 +4929,7 @@
(lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
{
cd->external_options = newoptions;
- options = newoptions;
+ options = *optionsptr = newoptions;
}
else
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php