From: | "Peter Alfredsen (loki_val)" <loki_val@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre/files: libpcre-7.7-buffer-overflow.patch |
Date: | Mon, 30 Jun 2008 21:03:50 |
Message-Id: | E1KDQWg-00022y-P4@stork.gentoo.org |
1 | loki_val 08/06/30 21:03:06 |
2 | |
3 | Added: libpcre-7.7-buffer-overflow.patch |
4 | Log: |
5 | Commit -> Stable 7.7-r1 wrt bug 228091. |
6 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686, RepoMan options: --force) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-libs/libpcre/files/libpcre-7.7-buffer-overflow.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/files/libpcre-7.7-buffer-overflow.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/files/libpcre-7.7-buffer-overflow.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libpcre-7.7-buffer-overflow.patch |
15 | =================================================================== |
16 | diff -NrU5 pcre-7.7.orig/pcre_compile.c pcre-7.7/pcre_compile.c |
17 | --- pcre-7.7.orig/pcre_compile.c 2008-06-18 17:08:49.000000000 +0200 |
18 | +++ pcre-7.7/pcre_compile.c 2008-06-18 17:11:04.000000000 +0200 |
19 | @@ -4929,11 +4929,11 @@ |
20 | { |
21 | if (code == cd->start_code + 1 + LINK_SIZE && |
22 | (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE)) |
23 | { |
24 | cd->external_options = newoptions; |
25 | - options = newoptions; |
26 | + options = *optionsptr = newoptions; |
27 | } |
28 | else |
29 | { |
30 | if ((options & PCRE_IMS) != (newoptions & PCRE_IMS)) |
31 | { |
32 | |
33 | |
34 | |
35 | -- |
36 | gentoo-commits@l.g.o mailing list |