commit | ca43161a8da278ec0948511f595827daf29a071e | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Tue Sep 13 00:31:17 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 03 19:08:10 2022 +0200 |
tree | f30f281cb8feeb635fa5d27bfbdedf059f132267 | |
parent | d7755375a51726e3d13c4f891ca8ab8cc1ba9a4d [diff] |
BUG/MEDIUM: lua: Don't crash in hlua_lua2arg_check on failure In hlua_lua2arg_check(), on failure, before calling free_argp(), make sure to always mark the failed argument as ARGT_STOP. We only want to free argument prior to that point, because we did not allocate the strings after this one, and so we don't want to free them. This should be backported up to 2.2.