diff options
author | Peter Korsgaard <[email protected]> | 2008-09-13 02:33:15 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-09-13 14:41:51 -0700 |
commit | aa77d96ba94326db4f50d2aa36602824dd03286a (patch) | |
tree | 4c2daacecb7f707d0ecf8569faf14f01d17a5e1e /net/unix/sysctl_net_unix.c | |
parent | 53604dbe1371c3c4458c2d741adbd8cfd8fe8e79 (diff) |
spi_mpc83xx: reject invalid transfer sizes
Error out on transfer length != multiple of bytes per word with -EINVAL.
Fixes a buffer overrun crash if length < bytes per word.
Signed-off-by: Peter Korsgaard <[email protected]>
Acked-by: Joakim Tjernlund <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions