]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: stick-table: make sure not to fail on task_new() during initialization
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 09:12:15 +0000 (11:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2018 11:24:43 +0000 (13:24 +0200)
commit848522f05df9e60eea9274e11f1e9fcd19594a5c
treee4f005e0a59566079f7944ae951941bd6db7d8e7
parenta8825520b785d592467c45e183ad8213cb7bf891
BUILD: stick-table: make sure not to fail on task_new() during initialization

Gcc reports a potential null-deref error in the stick-table init code.
While not critical there, it's trivial to fix. This check has been
missing since 1.4 so this fix can be backported to all supported versions.
src/stick_table.c