From dbfbd6e6d3ed41ce50a84783200d05db1b7bd65d Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 7 Feb 2026 14:47:31 +0300 Subject: [PATCH] nfqws2: DLOG_ERR if payload does not fit into the buffer --- nfq2/lua.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nfq2/lua.c b/nfq2/lua.c index 6707509..3d028d9 100644 --- a/nfq2/lua.c +++ b/nfq2/lua.c @@ -2445,7 +2445,11 @@ bool lua_reconstruct_dissect(lua_State *L, int idx, uint8_t *buf, size_t *len, b DLOG_ERR("reconstruct_dissect: invalid payload length\n"); goto err; } - if (left