]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: Fix a possible null pointer deref on lua ctx
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Jul 2020 08:40:58 +0000 (10:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Jul 2020 08:40:59 +0000 (10:40 +0200)
commit2361fd9487982225e816d61f8388447068540f8a
tree2de2924241769fa19608c87509e79397648ca996
parente96993b1f203a14d2ef1eaa70be595c7d5b98643
BUG/MINOR: lua: Fix a possible null pointer deref on lua ctx

This bug was introduced by the commit 8f587ea3 ("MEDIUM: lua: Set the analyse
expiration date with smaller wake_time only"). At the end of hlua_action(), the
lua context may be null if the alloc failed.

No backport needed, this is 2.3-dev.
src/hlua.c