Bug #14961
closedSnort package issue in snort_Getdirsize() function due to behavior change in PHP 8.x
100%
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.
Updated by Bill Meeks about 2 years ago
This issue is corrected by Snort package update 4.1.6_12 posted for review and merge here: https://github.com/pfsense/FreeBSD-ports/pull/1315.
This issue may be marked "Resolved" when the pull request is merged.
Updated by Jim Pingle about 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
PR merged, thanks!