Commit 68b88afb authored by Shishir Jaiswal's avatar Shishir Jaiswal

Bug#24449090 - BUFFER OVERFLOW IN FUNCTION DUPL

Post-push fix for memory leak in the code inside
DBUG_EXECUTE_IF("bug24449090_simulate_oom",...);
parent 52b0c814
...@@ -1495,6 +1495,7 @@ register sopno size; ...@@ -1495,6 +1495,7 @@ register sopno size;
DBUG_EXECUTE_IF("bug24449090_simulate_oom", DBUG_EXECUTE_IF("bug24449090_simulate_oom",
{ {
free(p->strip);
p->strip= NULL; p->strip= NULL;
p->ssize= 0; p->ssize= 0;
SETERROR(REG_ESPACE); SETERROR(REG_ESPACE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment