]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
econet: disallow NULL remote addr for sendmsg(), fixes CVE-2010-3849
authorPhil Blundell <philb@gnu.org>
Wed, 24 Nov 2010 19:49:19 +0000 (11:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:49:19 +0000 (11:49 -0800)
commitfa0e846494792e722d817b9d3d625a4ef4896c96
tree0e842037f9f48fe0974fe854f7f2d13b69f23c7f
parentc39508d6f118308355468314ff414644115a07f3
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>
net/econet/af_econet.c