diff options
author | Jesper Juhl <[email protected]> | 2006-09-25 16:39:24 -0700 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2006-09-25 20:01:19 -0400 |
commit | 46798c897e235e71e1e9c46a5e6e9adfffd8b85d (patch) | |
tree | a43e0781a3d2076321b19fc47ba2791e180e6860 /net/unix/af_unix.c | |
parent | 84c22d7901f793bd267b5f79270080964b252826 (diff) |
[PATCH] fix possible NULL ptr deref in forcedeth
There seems to be a possible NULL pointer deref bug in
drivers/net/forcedeth.c::nv_loopback_test(). If dev_alloc_skb() fails, the
next line will call skb_put() with a NULL first argument which it'll then
try to deref - kaboom: a NULL pointer deref. Found by coverity (#1337).
Signed-off-by: Jesper Juhl <[email protected]>
Cc: Ayaz Abdulla <[email protected]>
Cc: Manfred Spraul <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions