Project

General

Profile

Actions

Bug #7059

closed

firewall_rules_edit.php - strlen error when there are input errors

Added by Jim Pingle almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
12/31/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:

Description

Craft an invalid firewall rule, such as one set for IPv4 with an IPv6 src/dst, and when the input errors are displayed there is also a PHP error:

Warning: strlen() expects parameter 1 to be string, array given in /usr/local/www/firewall_rules_edit.php on line 1288 Call Stack: 0.0001 254816 1. {main}() /usr/local/www/firewall_rules_edit.php:0 0.4134 2340744 2. strlen() /usr/local/www/firewall_rules_edit.php:1288 
Actions #2

Updated by Renato Botelho almost 8 years ago

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

PR has been merged

Actions #3

Updated by Jim Pingle almost 8 years ago

  • Status changed from Feedback to Resolved

Looks good, no more strlen error.

Actions

Also available in: Atom PDF