diff options
| author | 2008-04-07 09:42:07 +0800 | |
|---|---|---|
| committer | 2008-04-12 13:43:23 +0900 | |
| commit | a28398ba6112be28c6a92aacf06aca1979b454b7 (patch) | |
| tree | d1998af0632459026ee9bf479afcf9897f626ac2 /net/tipc/socket.c | |
| parent | [IPV6] MIP6: Use our standard definitions for paddings. (diff) | |
| download | wireguard-linux-a28398ba6112be28c6a92aacf06aca1979b454b7.tar.xz wireguard-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/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
