Date: Sun, 24 Mar 2024 16:41:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277923] jail(8) segfaults on syntax error in configuration file Message-ID: <bug-277923-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277923 Bug ID: 277923 Summary: jail(8) segfaults on syntax error in configuration file Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: nsonack@outlook.com The following jail.conf will segfault the jail(8) utility on at least 14.0-RELEASE: foo { ip4.addr = "lo0|foo/24" host.hostname = "bar"; } $ jail -c -f foo.conf foo jail: foo.conf line 3: host.hostname: syntax error Segmentation fault (core dumped) $ I expect jail(8) not to segfault on bad syntax. I also saw SIGBUS being thrown when having incorrect syntax. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277923-227>
