From: Nuno Lopes Date: Sun, 6 Jul 2008 15:23:44 +0000 (+0000) Subject: MFB: fix CVE-2008-2371 X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b24f6f825324fb939210077c02a8944b59399510;p=php MFB: fix CVE-2008-2371 --- diff --git a/ext/pcre/pcrelib/pcre_compile.c b/ext/pcre/pcrelib/pcre_compile.c index 51a51e1253..0f3ebf93fd 100644 --- a/ext/pcre/pcrelib/pcre_compile.c +++ b/ext/pcre/pcrelib/pcre_compile.c @@ -4929,7 +4929,7 @@ we set the flag only if there is a literal "\r" or "\n" in the class. */ (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE)) { cd->external_options = newoptions; - options = newoptions; + options = *optionsptr = newoptions; } else {