linux-stable-rt/drivers/net/tokenring
Jesper Juhl bcfef8c368 Avoid possible NULL pointer deref in 3c359 driver
In xl_freemem(), if dev_if is NULL, the line

  struct xl_private *xl_priv =(struct xl_private *)dev->priv;

will cause a NULL pointer dereference.

(akpm: don't try to fix it: just delete the pointless test-for-null)

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-10 16:53:51 -07:00
..
3c359.c Avoid possible NULL pointer deref in 3c359 driver 2007-10-10 16:53:51 -07:00
3c359.h
3c359_microcode.h
Kconfig
Makefile
abyss.c
abyss.h
ibmtr.c
lanstreamer.c
lanstreamer.h
madgemc.c
madgemc.h
olympic.c
olympic.h
proteon.c
skisa.c
smctr.c
smctr.h
smctr_firmware.h
tms380tr.c
tms380tr.h
tmspci.c