]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: lua: use correct object size when initializing a new converter
authorWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 08:50:55 +0000 (10:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 08:54:36 +0000 (10:54 +0200)
commit08ef3d055d7e67ec08660bb3da2487326f02d704
treebd3ffe0d9220a2fed251edf0c7144cf0fc38fb38
parent482564f309b932278f650a52bf14c44ed12a45e0
BUG/MAJOR: lua: use correct object size when initializing a new converter

In hlua_converters_new(), we used to allocate the size of an hlua_txn
instead of hlua_smp, resulting in random crashes with one integer being
randomly overwritten at the end, even when no converter is being used.
src/hlua.c