From: Vsevolod Stakhov Date: Mon, 13 Jun 2016 18:02:18 +0000 (+0100) Subject: [CritFix] Fix parsing of missing classes X-Git-Tag: 1.3.0~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7e55dcc838006ed3be3d523b4768a4290ffce4f;p=thirdparty%2Frspamd.git [CritFix] Fix parsing of missing classes --- diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 725160ee0c..3715676956 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -729,6 +729,7 @@ rspamd_lua_parse_table_arguments (lua_State *L, gint pos, case 'U': if (t == LUA_TNIL || t == LUA_TNONE) { failed = TRUE; + *(va_arg (ap, void **)) = NULL; } else if (t != LUA_TUSERDATA) { g_set_error (err,