commit | 741f0b33d7823e1aaf19bc979bfac05ba216a0be | [log] [tgz] |
---|---|---|
author | Phil Blundell <philb@gnu.org> | Wed Nov 24 11:49:19 2010 -0800 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 13 06:54:32 2010 +0100 |
tree | 22f14b0eaca2c403a249de5abe9c8a55cd7ebba7 | |
parent | 6830831bea184af5b9cad25a1adc700eb13c7aed [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> Signed-off-by: Willy Tarreau <w@1wt.eu> (cherry picked from 2.6 commit fa0e846494792e722d817b9d3d625a4ef4896c96)