From 68b88afb0c7b65e36d27ebca05bd2e354840f2cf Mon Sep 17 00:00:00 2001 From: Shishir Jaiswal Date: Sun, 4 Dec 2016 18:44:51 +0530 Subject: Bug#24449090 - BUFFER OVERFLOW IN FUNCTION DUPL Post-push fix for memory leak in the code inside DBUG_EXECUTE_IF("bug24449090_simulate_oom",...); --- regex/regcomp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'regex') diff --git a/regex/regcomp.c b/regex/regcomp.c index 7c450db07b7..13275237d2a 100644 --- a/regex/regcomp.c +++ b/regex/regcomp.c @@ -1495,6 +1495,7 @@ register sopno size; DBUG_EXECUTE_IF("bug24449090_simulate_oom", { + free(p->strip); p->strip= NULL; p->ssize= 0; SETERROR(REG_ESPACE); -- cgit v1.2.1