diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-09-26 01:39:24 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-26 02:01:19 +0200 |
commit | 46798c897e235e71e1e9c46a5e6e9adfffd8b85d (patch) | |
tree | a43e0781a3d2076321b19fc47ba2791e180e6860 /drivers/net/defxx.h | |
parent | [PATCH] Signedness issue in drivers/net/phy/phy_device.c (diff) | |
download | linux-46798c897e235e71e1e9c46a5e6e9adfffd8b85d.tar.xz linux-46798c897e235e71e1e9c46a5e6e9adfffd8b85d.zip |
[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 <jesper.juhl@gmail.com>
Cc: Ayaz Abdulla <aabdulla@nvidia.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Stephen Hemminger <shemminger@osdl.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/defxx.h')
0 files changed, 0 insertions, 0 deletions