]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r181345:
authorkib <kib@FreeBSD.org>
Wed, 13 Aug 2008 12:40:23 +0000 (12:40 +0000)
committerkib <kib@FreeBSD.org>
Wed, 13 Aug 2008 12:40:23 +0000 (12:40 +0000)
commite7af1fad02f4360547ce9a9513b3f255e666937e
tree837d659d133644db113030db340ce5c9dc85e9df
parent612b65da2af7c7853f7f8ba81943022c1ff45216
MFC r181345:
User may do "mount -o snapshot ...", that causes new FFS mount to be
performed with snapshot option, while the mp->mnt_opt is NULL.
Protect against NULL pointer dereference.

MFC r181528:
Revert r181345.
Move the NULL pointer check to the vfs_deleteopt() function.
sys/kern/vfs_mount.c