Project

General

Profile

Actions

Bug #1694

closed

unix-socket reading 0 size pcap

Added by Peter Manev almost 9 years ago. Updated almost 6 years ago.

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

Description

Reading feeding 0 size pcap with unix-socket the engine (3.0dev (rev 44a444b)) stalls and eventually after some time crashes out with -

[14779] 4/2/2016 -- 22:03:07 - (tm-threads.c:1493) <Error> (TmThreadDisableReceiveThreads) -- [ERRCODE: SC_ERR_FATAL(171)] - Engine unable to disable detect thread - "ReceivePcapFile".  Killing engine

While there is no valid reason to read an empty.pcap (attached) there should be some controls implemented in order to avoid that.


Related issues 2 (0 open2 closed)

Related to Suricata - Bug #2795: asan leak: processing of empty pcapClosedSumera PriyadarsiniActions
Related to Suricata - Bug #3448: Suricata 4.1 Seg Fault: Socket Control pcap-file and corrupt pcapClosedShivani BhardwajActions
Actions

Also available in: Atom PDF