]> 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:26:57 +0000 (14:26 +0100)
Issue: #609
Reported by: @moisseev

src/lua/lua_redis.c

index 952bfb8834f8f7f07c15a7080020c0d4da148c87..30f8636460311d85d3db64b9257fcfecfe57a8c6 100644 (file)
@@ -68,6 +68,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