mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG/MEDIUM: cli: Prevent double free in CLI ACL lookup
The memory is released by cli_release_mlook, which also properly sets the
pointer to NULL. This was introduced with a big code reorganization
involving moving to the new keyword registration form in commit ad8be61c7.
This fix needs to be backported to 1.7.
Signed-off-by: Nenad Merdanovic <nmerdan@haproxy.com>
This commit is contained in:
parent
8d7104982e
commit
24f45d8e34
1 changed files with 0 additions and 1 deletions
|
|
@ -524,7 +524,6 @@ static int cli_io_handler_map_lookup(struct appctx *appctx)
|
|||
|
||||
default:
|
||||
appctx->st2 = STAT_ST_FIN;
|
||||
free(appctx->ctx.map.chunk.str);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue