summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2007-10-11 06:09:04 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-11 06:09:04 +0200
commitfa8705b00aeca19d91a1437b8a5cf865999b28f6 (patch)
treed91cf4fe1b632836d286a1216b4f821903b8d4f5 /include/net
parent[TG3]: Update version to 3.83 (diff)
downloadlinux-fa8705b00aeca19d91a1437b8a5cf865999b28f6.tar.xz
linux-fa8705b00aeca19d91a1437b8a5cf865999b28f6.zip
[NET]: sanitize kernel_accept() error path
If kernel_accept() returns an error, it may pass back a pointer to freed memory (which the caller should ignore). Make it pass back NULL instead for better safety. Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions