summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-11 23:24:47 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-12 01:48:54 +0900
commit83aca8f480fcd2d9748301a5d060cf947dc75b94 (patch)
tree008c96d1017b835e3d54344c0a2c77d780086979 /kernel/fork.c
parent4f6b828837b4e3836f2c9ac2f0eab9773b6c1327 (diff)
downloadop-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 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud