Project

General

Profile

Actions

Bug #14961

closed

Snort package issue in snort_Getdirsize() function due to behavior change in PHP 8.x

Added by Bill Meeks about 2 years ago. Updated about 2 years ago.

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 #1

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.

Actions #2

Updated by Jim Pingle about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

PR merged, thanks!

Actions

Also available in: Atom PDF