Skip to content

Commit 68b88af

Browse files
author
Shishir Jaiswal
committed
Bug#24449090 - BUFFER OVERFLOW IN FUNCTION DUPL
Post-push fix for memory leak in the code inside DBUG_EXECUTE_IF("bug24449090_simulate_oom",...);
1 parent 52b0c81 commit 68b88af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

regex/regcomp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,7 @@ register sopno size;
14951495

14961496
DBUG_EXECUTE_IF("bug24449090_simulate_oom",
14971497
{
1498+
free(p->strip);
14981499
p->strip= NULL;
14991500
p->ssize= 0;
15001501
SETERROR(REG_ESPACE);

0 commit comments

Comments
 (0)