Project

General

Profile

Bug #9936

zombie alias check errors if no alises exist

Added by Steve Wheeler 9 days ago. Updated 8 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
11/28/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
Affected Architecture:

Description

It appears not to check if aliases exist on the system before trying to load the array throwing this error:

Warning: Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489

Seems harmless. Adding an alias prevents it.

Introduced here: https://github.com/pfsense/pfsense/pull/4098/commits/2f2dc8c9cb81a945292e6ad483e6e85bba5128bf

Associated revisions

Revision e99c638b (diff)
Added by Jim Pingle 8 days ago

Init aliases array before use. Fixes #9936

History

#1 Updated by Jim Pingle 8 days ago

  • Status changed from New to In Progress
  • Assignee set to Jim Pingle

#2 Updated by Jim Pingle 8 days ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Also available in: Atom PDF