Project

General

Profile

Actions

Bug #16602

closed

``kea2unbound``crashes when reading an invalid configuration file

Added by Marcos M about 5 hours ago. Updated about 5 hours ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.03
Release Notes:
Default
Affected Version:
2.8.1
Affected Architecture:

Description

kea2unbound can crash when reading unbound or kea configuration files if the files become invalid - e.g. when being replaced after an interface event.

PHP Fatal error:  Uncaught TypeError: Cannot assign null to property kea2unbound\KeaConfig::$config of type array in /usr/local/bin/kea2unbound:103
Stack trace:
#0 /usr/local/bin/kea2unbound(78): kea2unbound\KeaConfig->__construct()
#1 /usr/local/bin/kea2unbound(901): kea2unbound\Singleton::getInstance()
#2 /usr/local/pfSense/include/vendor/symfony/console/Command/Command.php(279): kea2unbound\SyncCommand->execute()
#3 /usr/local/pfSense/include/vendor/symfony/console/Application.php(1076): Symfony\Component\Console\Command\Command->run()
#4 /usr/local/pfSense/include/vendor/symfony/console/Application.php(342): Symfony\Component\Console\Application->doRunCommand()
#5 /usr/local/pfSense/include/vendor/symfony/console/Application.php(193): Symfony\Component\Console\Application->doRun()
#6 /usr/local/bin/kea2unbound(988): Symfony\Component\Console\Application->run()
#7 {main}
  thrown in /usr/local/bin/kea2unbound on line 103

Reported on the forum:
https://forum.netgate.com/topic/199534/kea2unbound-crash-report/4

Actions #1

Updated by Marcos M about 5 hours ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF