addedd gcc-4.4.0
[dottout.git] / dev-libs / glib / files / glib-2.16.3-pcre-buffer-overflow.patch
blob18fd0525be48ad80e5f0375ffa198900bba135b0
1 --- glib/pcre/pcre_compile.c.orig 2008-06-30 10:42:54.000000000 +0300
2 +++ glib/pcre/pcre_compile.c 2008-06-30 10:43:10.000000000 +0300
3 @@ -4699,11 +4699,11 @@ we set the flag only if there is a liter
5 if (code == cd->start_code + 1 + LINK_SIZE &&
6 (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
8 cd->external_options = newoptions;
9 - options = newoptions;
10 + options = *optionsptr = newoptions;
12 else
14 if ((options & PCRE_IMS) != (newoptions & PCRE_IMS))