]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[CritFix] Fix redis structure by adding {NULL, NULL} member
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 13:25:09 +0000 (14:25 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 13:25:09 +0000 (14:25 +0100)
Issue: #609
Reported by: @moisseev

src/lua/lua_redis.c

index 2354096676fbcb3b1a9e4e165a3aaf6ad19135e8..675a20d3c987629a865585a4a1daa1aeee4b4a5d 100644 (file)
@@ -69,6 +69,7 @@ static const struct luaL_reg redislib_m[] = {
        LUA_INTERFACE_DEF (redis, exec),
        {"__gc", lua_redis_gc},
        {"__tostring", rspamd_lua_class_tostring},
+       {NULL, NULL}
 };
 
 #ifdef WITH_HIREDIS