]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343112: jail(8): stop crashing with SIGSEGV inside run_command()
authoreugen <eugen@FreeBSD.org>
Sat, 16 Feb 2019 00:40:03 +0000 (00:40 +0000)
committereugen <eugen@FreeBSD.org>
Sat, 16 Feb 2019 00:40:03 +0000 (00:40 +0000)
commitd7b85c6dd5bbe32eca220ed7b1c9118db9872dd1
tree51525a0ffe2e65138159920f620d61cbca456772
parent15bd5029c2008f4cb55b47ef635fb090dc7a8505
MFC r343112: 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
usr.sbin/jail/command.c