diff options
author | Phil Blundell <philb@gnu.org> | 2010-11-24 11:49:19 -0800 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-04-17 16:15:58 -0400 |
commit | 4b26a9cc1ed74cb87c24830de097aebb08234b81 (patch) | |
tree | 901f72e15f9f975c41e36194c5fe7e7a4a35d1ad /net/unix/af_unix.c | |
parent | fd28362adbeb2681b01d3d4268689344dcd9dceb (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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions