]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
jail(8): stop crashing with SIGSEGV inside run_command() function
authoreugen <eugen@FreeBSD.org>
Thu, 17 Jan 2019 14:09:55 +0000 (14:09 +0000)
committereugen <eugen@FreeBSD.org>
Thu, 17 Jan 2019 14:09:55 +0000 (14:09 +0000)
commitb5e24ffa8c99a2ba6670ca5cfb847da6044f5c8b
treeafeb04c845a452404ba61972a9ef59522361dc32
parent72a21ba0f62da5e86a1c0b462aeb3f5ff849a1b7
jail(8): stop crashing with SIGSEGV inside run_command() function
while processing not entirely correct jail.conf(5) file
having something like "ip4.addr = 127.0.0.1;" and no "ip4 = ...;"
so extrap variable stays NULL.

Reported by: marck
MFC after: 1 month
usr.sbin/jail/command.c