Actions
Bug #4512
closedsnort ruleset selection page issue
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/11/2015
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
Snort ver 2.9.7.0 pkg v3.2.3
Typo in snort_rulesets.php
Around line 534, when determining how many rows to display.
$i = count($emergingrules);
if ($i < count($snortsorules))
$i = count(snortsorules);
^
missing $
if ($i < count($snortrules))
$i = count($snortrules);
Effect: Number of snort so rules always incorrectly count as 1. There will be cases where not all snort so rules are displayed, as $i is set by the other two rules.
Actions