Project

General

Profile

Actions

Bug #14855

closed

suricata_Getdirsize issue after PHP 8

Added by Graham Collinson about 1 year ago. Updated 10 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

Also available in: Atom PDF