Actions
Bug #9840
closedPHP7: Uninitialised array in upgrade_config.inc
Start date:
10/21/2019
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4-p3
Affected Architecture:
All
Description
Interfaces set to trackv6 against an interface that does not have an IPv6 config trigger this:
Crash report begins. Anonymous machine information: amd64 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #9 10fea60fdde(factory-RELENG_2_4_4): Thu May 16 06:55:01 EDT 2019 root@buildbot1-nyi.netgate.com:/build/factory-crossbuild-244/obj/amd64/bwlyKhYx/build/factory-crossbuild-244/pfSense/tmp/FreeBSD-src/sys/pfSense Crash report details: PHP Errors: [16-Oct-2019 19:02:34 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/inc/upgrade_config.inc:4577 Stack trace: #0 /etc/inc/config.lib.inc(378): upgrade_144_to_145() #1 /etc/rc.bootup(125): convert_config() #2 {main} thrown in /etc/inc/upgrade_config.inc on line 4577
It's not normally possible hit this as current versions prevent configuring it. In this case it was a 2.2 config that hit it.
Updated by Jim Pingle about 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 8e0d33ec48792e13839a0181031664261269c220.
Updated by Jim Pingle about 5 years ago
- Target version changed from 2.5.0 to 2.4.5
Updated by Viktor Gurov almost 5 years ago
tested on pfSense 2.4.5.a.20191209.0732
no any crash reports
Resolved
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
Actions