We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093232d commit 90bc219Copy full SHA for 90bc219
1 file changed
src/util-lua-bytevarlib.c
@@ -56,7 +56,7 @@ static int LuaBytevarMap(lua_State *L)
56
57
DetectByteIndexType idx;
58
if (!DetectByteRetrieveSMVar(name, s, -1, &idx)) {
59
- luaL_error(L, "unknown byte_extract or byte_math variable: %s", name);
+ return luaL_error(L, "unknown byte_extract or byte_math variable: %s", name);
60
}
61
62
ld->bytevar[ld->bytevars].name = SCStrdup(name);
0 commit comments