mirror of https://github.com/OISF/suricata
lua/datasets: validate string len
Address string size issue: LuaDatasetAdd() fetches a pointer from lua_tostring(L,2) but takes an independent byte-count from lua_tonumber(L,3) without comparing it to the real string length. Check the real string len and pass that along. Ticket: #8807.pull/16213/head
parent
f5ea9e8480
commit
82f4883555
Loading…
Reference in New Issue