android_kernel_xiaomi_sm8350/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_microcode.h
3c359.c Avoid possible NULL pointer deref in 3c359 driver 2007-10-10 16:53:51 -07:00
3c359.h
abyss.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
abyss.h
ibmtr.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
Kconfig [TR]: Use menuconfig objects. 2007-05-24 16:36:52 -07:00
lanstreamer.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.h
madgemc.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
madgemc.h
Makefile
olympic.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
olympic.h
proteon.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
skisa.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
smctr_firmware.h
smctr.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
smctr.h
tms380tr.c tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tms380tr.h tms380tr: trivial endianness annotations 2007-10-10 16:52:05 -07:00
tmspci.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00