diff options
author | Phil Blundell <philb@gnu.org> | 2010-11-24 11:49:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:24:21 -0800 |
commit | b13ca1096cc1e5563fbf551d4ffb27798e0d731e (patch) | |
tree | 31c94a5d6bb43361fa3e50fa990d6577030a162f /drivers/spi | |
parent | 1ee97ce543460d963911ca8d0b8461ba7b48846d (diff) |
econet: disallow NULL remote addr for sendmsg(), fixes CVE-2010-3849
commit fa0e846494792e722d817b9d3d625a4ef4896c96 upstream.
Later parts of econet_sendmsg() rely on saddr != NULL, so return early
with EINVAL if NULL was passed otherwise an oops may occur.
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions