mirror of https://github.com/OISF/suricata
Make suricata_ctl_flags be volatile
The global variable suricata_ctl_flags needs to volatile, otherwise the compiler might not cause the variable to be read every time because it doesn't know other threads might write the variable. This was causing Suricata to not exit under some conditions.pull/1190/merge
parent
503cc3de69
commit
a781fc5c2e
Loading…
Reference in New Issue