mirror of
https://github.com/bol-van/zapret2.git
synced 2026-06-17 12:50:04 +04:00
nfqws2: fix null ptr deref
This commit is contained in:
+1
-1
@@ -3843,7 +3843,7 @@ static int luacall_timer_del(lua_State *L)
|
|||||||
TimerPoolDel(¶ms.timers, timer);
|
TimerPoolDel(¶ms.timers, timer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
DLOG("timer: '%s' not found\n", timer->str);
|
DLOG("timer: '%s' not found\n", name);
|
||||||
lua_pushboolean(L, !!timer);
|
lua_pushboolean(L, !!timer);
|
||||||
LUA_STACK_GUARD_RETURN(L,1)
|
LUA_STACK_GUARD_RETURN(L,1)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user