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/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277923 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 =3D "lo0|foo/24" host.hostname =3D "bar"; } $ jail -c -f foo.conf foo jail: foo.conf line 3: host.hostname: syntax error Segmentation fault (core dumped) $=20 I expect jail(8) not to segfault on bad syntax. I also saw SIGBUS being thr= own when having incorrect syntax. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277923-227>