diff options
author | Phil Blundell <philb@gnu.org> | 2010-11-24 11:49:19 -0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-12-14 23:40:17 +0100 |
commit | 973a11aa7810c40a80ad064211fa157dd1921b37 (patch) | |
tree | 0310f333b85aa18953e2b6fd45dcd2e526c734f0 /scripts/pnmtologo.c | |
parent | 474a751770cdae97c5baa16c4dc2f0e94d0a464f (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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'scripts/pnmtologo.c')
0 files changed, 0 insertions, 0 deletions