This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/11192] regexec.c: avoid leaks on out-of-memory failure paths
- From: "jim at meyering dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Jan 2010 16:17:52 -0000
- Subject: [Bug regex/11192] regexec.c: avoid leaks on out-of-memory failure paths
- References: <20100119161558.11192.jim@meyering.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jim at meyering dot net 2010-01-19 16:17 -------
Created an attachment (id=4539)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4539&action=view)
regexec.c: avoid leaks on out-of-memory failure paths
2010-01-19 Paul Eggert <eggert@cs.ucla.edu>
[BZ #11192]
regexec.c: avoid leaks on out-of-memory failure paths
* posix/regexec.c (re_copy_regs): Don't leak when allocation
of the start buffer succeeds but allocation of the "end" one fails.
In two places.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11192
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.