diff options
author | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:23:44 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:23:44 +0000 |
commit | b24f6f825324fb939210077c02a8944b59399510 (patch) | |
tree | 1fd2923536d73f8218535a3b8aa6f028c3aa7e6b /ext | |
parent | 8a5db933121c955173441dc75ef631a9705dbdb0 (diff) | |
download | php-git-b24f6f825324fb939210077c02a8944b59399510.tar.gz |
MFB: fix CVE-2008-2371
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pcre/pcrelib/pcre_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |