From: Phil Blundell Date: Wed, 24 Nov 2010 19:49:19 +0000 (-0800) Subject: econet: disallow NULL remote addr for sendmsg(), fixes CVE-2010-3849 X-Git-Tag: v2.6.27.57~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13ca1096cc1e5563fbf551d4ffb27798e0d731e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed