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:27:12 -0800 |
commit | 72013721bd096ae0bb46cec1db71d4161db32eac (patch) | |
tree | 0e541c528d34d7b5bd675c3733e0d09d298a55a8 /net/x25/x25_timer.c | |
parent | 04c54f3ac587680e7c1bb721843af4c23548faa0 (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 'net/x25/x25_timer.c')
0 files changed, 0 insertions, 0 deletions