diff options
author | Sanchit Garg <[email protected]> | 2010-10-27 09:41:01 +0530 |
---|---|---|
committer | Eric Van Hensbergen <[email protected]> | 2010-10-28 09:08:49 -0500 |
commit | f6ac55b6c156cebf750376dc08e06ffdade82717 (patch) | |
tree | fd173ac547ec84f90b56cf6d8a90f737b4b2748f /net/unix/sysctl_net_unix.c | |
parent | b165d60145b717261a0234f989c442c2b68b6ec0 (diff) |
net/9p: Return error on read with NULL buffer
This patch ensures that a read(fd, NULL, 10) returns EFAULT on a 9p file.
Signed-off-by: Sanchit Garg <[email protected]>
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Eric Van Hensbergen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions