summaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-04-07 03:42:07 +0200
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-12 06:43:23 +0200
commita28398ba6112be28c6a92aacf06aca1979b454b7 (patch)
treed1998af0632459026ee9bf479afcf9897f626ac2 /net/iucv
parent[IPV6] MIP6: Use our standard definitions for paddings. (diff)
downloadlinux-a28398ba6112be28c6a92aacf06aca1979b454b7.tar.xz
linux-a28398ba6112be28c6a92aacf06aca1979b454b7.zip
[IPV6]: Check length of optval provided by user in setsockopt().
Check length of setsockopt's optval, which provided by user, before copy it from user space. For POSIX compliant, return -EINVAL for setsockopt of short lengths. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions