Date: Fri, 5 Nov 2010 22:18:09 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ioctl.c Message-ID: <201011052218.oA5MIRHI025303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-11-05 22:18:09 UTC FreeBSD src repository Modified files: sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ioctl.c Log: SVN rev 214854 on 2010-11-05 22:18:09Z by delphij Validate whether the zfs_cmd_t submitted from userland is not smaller than what we have. Without the check the kernel could accessing memory that does not belong to the request struct. Note that we do not test if the struct equals in size at this time, which may faciliate forward compatibility with newer binaries. Reviewed by: pjd at MeetBSD CA '2010 MFC after: 1 week Revision Changes Path 1.28 +8 -0 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011052218.oA5MIRHI025303>