Bug#24449090 - BUFFER OVERFLOW IN FUNCTION DUPL
Post-push fix for memory leak in the code inside DBUG_EXECUTE_IF("bug24449090_simulate_oom",...);
This commit is contained in:
parent
52b0c8146b
commit
68b88afb0c
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user