mirror of https://github.com/OISF/suricata
hs: use binary mode for cache file I/O
HSSaveCache wrote serialized Hyperscan databases using text mode ("w")
while HSReadStream already read them with binary mode ("rb").
Matched file reading modes to the binary format and simplified
write-size check.
Ticket: 8325
pull/14908/head
parent
d754b28717
commit
0cdc77b707
Loading…
Reference in New Issue