Skip to content

Commit

Permalink
Bug#24449090 - BUFFER OVERFLOW IN FUNCTION DUPL
Browse files Browse the repository at this point in the history
Post-push fix for memory leak in the code inside
DBUG_EXECUTE_IF("bug24449090_simulate_oom",...);
  • Loading branch information
Shishir Jaiswal committed Dec 4, 2016
1 parent 52b0c81 commit 68b88af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regex/regcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 68b88af

Please sign in to comment.