Actions
Bug #14961
closedSnort package issue in snort_Getdirsize() function due to behavior change in PHP 8.x
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Snort
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
Beginning with PHP 8.x specific ASCII control characters should be wrapped with chr() to insure they are interpreted correctly by the PHP engine. The function snort_Getdirsize() is used parse the output of the du disk utilization utility and determine the current disk utilization in preparation for log rotation and recovery of space. That function is parsing tab characters, and one of the parameters is not properly wrapped by chr() leading to a failure to correctly determine how much disk space is in use.
Actions