]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: keep a copy of s->flags early to avoid a dereference
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 13:51:28 +0000 (15:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 18:01:23 +0000 (20:01 +0200)
commitb8bc52522c751c4d9f51ae5cd3049d02c488cbcc
tree5354c4f1e7c50fbda5efe68f3dc0b18bae25bb5e
parent02fdf4f77b3ccc9604d6db373cfb7906a50d199e
MINOR: log: keep a copy of s->flags early to avoid a dereference

By placing s->flags into a local variable we'll be able to force it new
values when s is NULL.
src/log.c