summaryrefslogtreecommitdiffstats
path: root/contrib/top/top.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-11-05 22:18:09 +0000
committerdelphij <delphij@FreeBSD.org>2010-11-05 22:18:09 +0000
commit070520ecc1bf32802f718d73dab306102fd0f0b9 (patch)
treec574fa491752c9b21107af56b0b020d618b9ef99 /contrib/top/top.h
parent9b70c12cad6c8360756139b7b157ba9a9f1f7682 (diff)
downloadFreeBSD-src-070520ecc1bf32802f718d73dab306102fd0f0b9.zip
FreeBSD-src-070520ecc1bf32802f718d73dab306102fd0f0b9.tar.gz
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
Diffstat (limited to 'contrib/top/top.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud