mirror of https://github.com/OISF/suricata
lua/datasets: error on :add before :get
LuaDatasetAdd() dereferenced s->set without ensuring :get had been called first. The userdata metatable validation it was originally part of is already in place (Ticket: #8882); what remained is the missing init check. Reject :add on an uninitialized dataset. The pointer itself is zeroed in a follow-up commit. Ticket: #8882.pull/16213/head
parent
e281de36c0
commit
f5ea9e8480
Loading…
Reference in New Issue