Project

General

Profile

Actions

Bug #47

closed

{8} suricata v0.8.0beta local segfault

Added by rmkml rmkml over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

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'`
...
[3206] 5/1/2010 -
16:56:47 - (detect.c:349) <Info> (SigLoadSignatures) --
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

0001-Fix-for-buffer-overflow-logging-bug-6.patch (9.32 KB) 0001-Fix-for-buffer-overflow-logging-bug-6.patch non-working fix for improper bounds checking in the logging subsys Will Metcalf, 01/05/2010 12:43 PM
0001-logging-module-bug-6-fix.patch (9.3 KB) 0001-logging-module-bug-6-fix.patch Anoop Saldanha, 01/06/2010 09:51 PM
0002-fix-for-bug-47.patch (8.36 KB) 0002-fix-for-bug-47.patch Anoop Saldanha, 01/06/2010 09:51 PM
Actions #1

Updated by Will Metcalf over 14 years ago

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) -- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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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.

Actions #3

Updated by Victor Julien over 14 years ago

  • Status changed from Assigned to Closed

Patches applied, master pushed. Thanks guys!

Actions

Also available in: Atom PDF