]> 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)
committerVictor Julien <victor@inliniac.net>
Fri, 17 Sep 2021 09:03:48 +0000 (11:03 +0200)
commit1315cb793b884140b51e9934ebbdc7493be22db5
tree63f35baa6c5b4c19a4c54e621c0213fc9870d522
parent8b53468d32e5b14817a41c6b0656cd3569a87749
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.
src/util-lua-common.c