From 74bc9f14db655d2fdc9018d396af326e9b9bdf3f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 22 Jan 2010 12:33:58 -0800 Subject: regexec.c: avoid leaks on out-of-memory failure paths --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e6167fa..969326d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-01-22 Jim Meyering + [BZ #11192] + * posix/regexec.c (re_copy_regs): Don't leak when allocation + of the start buffer succeeds but allocation of the "end" one fails. + [BZ #11191] * posix/regexec.c (re_search_2_stub): Check for overflow when adding the sizes of the two strings. -- cgit v1.1