Segmentation fault on rule reload when using libmagic
If libmagic is enabled and there are signature using libmagic, rule reloading causes a segmentation fault on the next file matching the rule.
This is due to an improper reinitialization of the thread contexts.
In attachment there are a sample stack trace and a sample rule file.
Updated by Angelo Mirabella over 2 years ago
Uploading the build-info and a zip with a pcap and rules to reproduce the bug.
The password for the zip is: password
Steps to reproduce the bug:
- Start suricata in PCAP mode
- Send signal SIGUSR2 to reload the signatures
- Replay the pcap on the sniffing interface
This should lead to the segmentation fault
Updated by Victor Julien almost 2 years ago
- Status changed from New to Closed