From: Vsevolod Stakhov Date: Mon, 13 Jun 2016 18:02:18 +0000 (+0100) Subject: [CritFix] Fix parsing of missing classes X-Git-Tag: 1.2.8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abc7327ce159908a0197f3b8bdc0c3dee058810;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 7bdf41b6b8..b9eb59e471 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -836,6 +836,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,