Project

General

Profile

Actions

Bug #14955

closed

Suricata GUI throws a PHP error when creating an EventTime object for use on the ALERTS or BLOCKS tabs if there is a malformed log file entry

Added by Bill Meeks over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Suricata
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.x
Affected Plus Version:
23.09
Affected Architecture:
All

Description

A line containing a number of consecutive spaces in either the alerts.log or blocks.log files will cause a fatal PHP error to be thrown when creating an EventTime object from the log data. Add additional checks for this condition and ignore these invalid log file entries.

Actions

Also available in: Atom PDF