This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/11184] posix/regex_internal.c (re_dfa_add_node): correct overflow detection
- From: "jim at meyering dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs-regex at sources dot redhat dot com
- Date: 19 Jan 2010 11:27:40 -0000
- Subject: [Bug regex/11184] posix/regex_internal.c (re_dfa_add_node): correct overflow detection
- References: <20100119112351.11184.jim@meyering.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jim at meyering dot net 2010-01-19 11:27 -------
Created an attachment (id=4530)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4530&action=view)
regex_internal.c: correct re_realloc overflow detection
2010-01-19 Jim Meyering <meyering@redhat.com>
[BZ #11184]
regex_internal.c: correct re_realloc overflow detection
* posix/regex_internal.c (re_dfa_add_node): Correct the overflow
detection test. Patch by Paul Eggert.
Note that the "sizeof(int)" makes it slightly more convenient to keep in sync
with gnulib's "sizeof(Idx)".
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11184
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.