mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue