]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: contrib/mod_defender: close the va_list argp before return
authorDragan Dosen <ddosen@haproxy.com>
Mon, 18 Sep 2017 06:20:33 +0000 (08:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 18 Sep 2017 09:18:09 +0000 (11:18 +0200)
commitccf6100e11769b1650ba56fa727cb51993d0f3d2
tree986988976ede6866a4bcbbe466605a5186eeb064
parentf8bb0ce4509460d07fcf554fec1db9576ab0bc82
BUG/MINOR: contrib/mod_defender: close the va_list argp before return

Fix the case when the va_list argp could be left open if the function
vsnprintf() returned a negative value.
contrib/mod_defender/defender.c