mirror of https://github.com/OISF/suricata
hyperscan: prevent LTO opmitizing out hash calculation
Since cached_hash was updated through reference (hash), it seems LTO did not notice this and optimized the whole code block, returning zero. This in turn caused all caches to have the same name and to overwrite. On subsequent runs, only the last cache was loaded for all SGHs causing wrong MPM assignment. Ticket: 7824pull/13683/head
parent
bb846de074
commit
e4a406d375
Loading…
Reference in New Issue