mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-04 20:59:21 +02:00
Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow.
* glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow. svn path=/branches/glib-2-16/; revision=7124
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Backport from trunk:
|
||||||
|
|
||||||
|
* glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to
|
||||||
|
fix a heap-based buffer overflow.
|
||||||
|
|
||||||
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
2008-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/pcre/*: Update to PCRE 7.7
|
* glib/pcre/*: Update to PCRE 7.7
|
||||||
|
@@ -4807,7 +4807,7 @@ we set the flag only if there is a literal "\r" or "\n" in the class. */
|
|||||||
(lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
|
(lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
|
||||||
{
|
{
|
||||||
cd->external_options = newoptions;
|
cd->external_options = newoptions;
|
||||||
options = newoptions;
|
options = *optionsptr = newoptions;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user