diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-04-06 21:42:07 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-12 00:43:23 -0400 |
commit | a28398ba6112be28c6a92aacf06aca1979b454b7 (patch) | |
tree | d1998af0632459026ee9bf479afcf9897f626ac2 /security/selinux/netlink.c | |
parent | 7f1eced8b0a001c4d5a8cfa5ac7b5cbc89fedab8 (diff) |
[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 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions