Bug 11190 - regexec.c: avoid overflow in computing re_malloc buffer size (re_search_internal)
Summary: regexec.c: avoid overflow in computing re_malloc buffer size (re_search_inter...
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: regex (show other bugs)
Version: 2.12
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 15:54 UTC by jim@meyering.net
Modified: 2010-01-22 20:16 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
regexec.c: avoid overflow in computing re_malloc buffer size (754 bytes, patch)
2010-01-19 15:56 UTC, jim@meyering.net
Details | Diff
same patch, but no ChangeLog diffs (599 bytes, patch)
2010-01-19 15:58 UTC, jim@meyering.net
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jim@meyering.net 2010-01-19 15:54:31 UTC
patch attached
Comment 1 jim@meyering.net 2010-01-19 15:56:21 UTC
Created attachment 4536 [details]
regexec.c: avoid overflow in computing re_malloc buffer size

2010-01-19  Paul Eggert  <eggert@cs.ucla.edu>

	regexec.c: avoid overflow in computing re_malloc buffer size
	* posix/regexec.c (re_search_internal): Avoid overflow
	in computing re_malloc buffer size.
	[BZ #11190]
Comment 2 jim@meyering.net 2010-01-19 15:58:09 UTC
Created attachment 4537 [details]
same patch, but no ChangeLog diffs
Comment 3 Ulrich Drepper 2010-01-22 20:16:19 UTC
Checked into git.