This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/11184] posix/regex_internal.c (re_dfa_add_node): correct overflow detection


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]