Bug #47
closed{8} suricata v0.8.0beta local segfault
Description
Hi,
During my test, when I start suricata in my linux box:
./suricata080beta c suricata.yaml -r test.pcap -s `perl -e 'print "A"x870'` 16:56:47 - (detect.c:349) <Info> (SigLoadSignatures) --
...
[3206] 5/1/2010 -
Loading rule file:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Erreur de segmentation
same pb with -l option:
./suricata080beta -c suricata.yaml -r test.pcap -l `perl -e 'print "A"x870'`
Erreur de segmentation
Regards
Rmkml
Crusoe-Researches.com
Files
Updated by Will Metcalf almost 15 years ago
- File 0001-Fix-for-buffer-overflow-logging-bug-6.patch 0001-Fix-for-buffer-overflow-logging-bug-6.patch added
- Due date set to 01/10/2010
- Status changed from New to Assigned
- Assignee set to Anoop Saldanha
- Priority changed from Normal to High
- Target version set to 0.8.1
- Estimated time set to 2.50 h
This appears to be a duplicate of Bug 6. There was a patch that was mistakenly not included but does not seem to address the issue. The unit test supplied in the patch segv's as well. In the future please attach any patches that you create as potential fixes to the issue in redmine.
Test SCLogTestInit05 : [17976] 5/1/2010 -- 12:58:06 - (util-debug.c:1415) <Info> (SCLogTestInit05) -- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA- stack smashing detected ***: src/suricata terminated
Segmentation fault (core dumped)
Updated by Anoop Saldanha almost 15 years ago
- File 0001-logging-module-bug-6-fix.patch 0001-logging-module-bug-6-fix.patch added
- File 0002-fix-for-bug-47.patch 0002-fix-for-bug-47.patch added
2 patches updated. The first one is the older patch(for bug 6, but it didn't go through our previous release. Missed it somehow. Sorry about that), which I have rebased against the current master. The second one is the newer one. The first one is against 6b36e23e457375c9408036d85c62701a30556c6e. The second one is an incremental on the first one.
Updated by Victor Julien almost 15 years ago
- Status changed from Assigned to Closed
Patches applied, master pushed. Thanks guys!