Project

General

Profile

Actions

Bug #15365

closed

pfBlockerNG PHP error when editing a list

Added by Steve Wheeler about 1 month ago. Updated 12 days ago.

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

100%

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

Description

When editing an IPv4 list item I hit:

PHP Errors:
[27-Mar-2024 15:22:03 Europe/London] PHP Fatal error:  Uncaught ValueError: range(): Argument #3 ($step) must be greater than 0 for increasing ranges in /usr/local/www/pfblockerng/pfblockerng_category_edit.php:391
Stack trace:
#0 /usr/local/www/pfblockerng/pfblockerng_category_edit.php(391): range(1, 17, -1)
#1 {main}
  thrown in /usr/local/www/pfblockerng/pfblockerng_category_edit.php on line 391

Looks like others have hit it editing other lists.

Tested:
pfSense-24.03.b.20240322.1708
pfSense-pkg-pfBlockerNG-3.2.0_9


Files

clipboard-202403280951-tqfxp.png (65.4 KB) clipboard-202403280951-tqfxp.png Danilo Zrenjanin, 03/28/2024 08:51 AM
pfblocker-range.patch (608 Bytes) pfblocker-range.patch Nizam Moidu, 04/25/2024 10:09 AM
393.diff (1.18 KB) 393.diff Christopher Cope, 04/25/2024 01:29 PM

Related issues

Related to Bug #15444: Since this update 24.03-RELEASE was installed, PFBlockerNG has not been functioning correctly.Duplicate

Actions
Actions

Also available in: Atom PDF