diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-11 23:24:47 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-12 01:48:54 +0900 |
commit | 83aca8f480fcd2d9748301a5d060cf947dc75b94 (patch) | |
tree | 008c96d1017b835e3d54344c0a2c77d780086979 /drivers/w1 | |
parent | 4f6b828837b4e3836f2c9ac2f0eab9773b6c1327 (diff) | |
download | op-kernel-dev-83aca8f480fcd2d9748301a5d060cf947dc75b94.zip op-kernel-dev-83aca8f480fcd2d9748301a5d060cf947dc75b94.tar.gz |
nilfs2: check size of array structured data exchanged via ioctls
Although some ioctls of nilfs2 exchange data in the form of indirectly
referenced array, some of them lack size check on the array elements.
This inserts the missing checks and rejects requests if data of ioctl
does not have a valid format.
We usually don't have to check size of structures that we associated
with ioctl commands because the size is tested implicitly for
identifying ioctl command; the checks this patch adds are for the
cases where the implicit check is not applied.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions