Project

General

Profile

Actions

Bug #9936

closed

zombie alias check errors if no alises exist

Added by Steve Wheeler almost 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #1

Updated by Jim Pingle almost 2 years ago

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

Updated by Jim Pingle almost 2 years ago

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

Updated by Viktor Gurov almost 2 years ago

Jim Pingle wrote:

Applied in changeset e99c638b78540efa478dbb3360943c67de72c1af.

tested on 2.5.0.a.20191210.1722

Resolved

Actions #4

Updated by Jim Pingle almost 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF