mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-06 19:38:22 +00:00
BUG/MINOR: log: fix risk of null deref on error path
Previous commit ae32ac74db
("BUG/MINOR: log: fix memory leak on logsrv
parse error") addressed one issue and introduced another one, the logsrv
pointer may also be null at the end of the function so we must test it
before deciding to dereference it.
This should be backported along with the patch above to 2.2.
This commit is contained in:
parent
ae32ac74db
commit
a0133fcf35
Loading…
Reference in New Issue
Block a user