commit | fa0e846494792e722d817b9d3d625a4ef4896c96 | [log] [tgz] |
---|---|---|
author | Phil Blundell <philb@gnu.org> | Wed Nov 24 11:49:19 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 24 11:49:19 2010 -0800 |
tree | 0e842037f9f48fe0974fe854f7f2d13b69f23c7f | |
parent | c39508d6f118308355468314ff414644115a07f3 [diff] |
econet: disallow NULL remote addr for sendmsg(), fixes CVE-2010-3849 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>