Date: Fri, 12 Nov 2010 01:45:29 +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: <201011120145.oAC1jgkU053145@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-11-12 01:45:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ioctl.c
Log:
SVN rev 215155 on 2010-11-12 01:45:29Z by delphij
MFC r214854:
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.
Revision Changes Path
1.12.2.10 +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?201011120145.oAC1jgkU053145>
