Bug 11193 - regexec.c: avoid overflow in realloc buffer length computation
Summary: regexec.c: avoid overflow in realloc buffer length computation
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 16:39 UTC by jim@meyering.net
Modified: 2010-01-22 20:41 UTC (History)
2 users (show)

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


Attachments
regexec.c: avoid overflow in realloc buffer length computation (565 bytes, patch)
2010-01-19 16:41 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 16:39:37 UTC
patch attached
Comment 1 jim@meyering.net 2010-01-19 16:41:47 UTC
Created attachment 4540 [details]
regexec.c: avoid overflow in realloc buffer length computation

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

	[BZ #11193]
	regexec.c: avoid overflow in realloc buffer length computation
	* posix/regexec.c (extend_buffers): Avoid overflow in realloc
	buffer length computation.
Comment 2 Ulrich Drepper 2010-01-22 20:41:37 UTC
Slightly changed version checked in.