]> git.ipfire.org Git - thirdparty/suricata.git/commit
util/lua-common: fix SCFileInfo bug & doc comment
authorJuliana Fajardini <jufajardini@gmail.com>
Tue, 14 Sep 2021 08:49:07 +0000 (09:49 +0100)
committerShivani Bhardwaj <shivanib134@gmail.com>
Wed, 22 Sep 2021 12:01:21 +0000 (17:31 +0530)
commit0a0bce9bbaa5643e874d99efb9735d6c8eab37ce
treebcc019ab9d00d5820bd29065114b8ae277faf242
parent8704057df0527f822f2c25a78a7ad85f792ce881
util/lua-common: fix SCFileInfo bug & doc comment

The callback for FileInfo was returning the wrong value, resulting
in loss of some tuple values for one calling SCFileInfo in a script.

The documentation comment wasn't mentioning the sha items that are
pushed.

(cherry picked from commit 1315cb793b884140b51e9934ebbdc7493be22db5)
src/util-lua-common.c