Project

General

Profile

Actions

Bug #14855

closed

suricata_Getdirsize issue after PHP 8

Added by Graham Collinson 7 months ago. Updated 3 months ago.

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

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

Found an issue with suricata_Getdirsize in suricata.inc
Since PHP 8 an Integer needle is no longer treated as a char.
This function was returning the folder size up to the first digit 9.

I've created a pull request with a fix
https://github.com/pfsense/FreeBSD-ports/pull/1308

Actions #1

Updated by Bill Meeks 3 months ago

This fix was merged into production on October 16, 2023, but apparently this ticket escaped being closed as a result.

This issue can be marked as RESOLVED.

Actions #2

Updated by Jim Pingle 3 months ago

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

Also available in: Atom PDF