linux_dsm_epyc7002/drivers/net/ieee802154
Gustavo A. R. Silva 7dab546764 net: ieee802154: fix potential null pointer dereference
Null check at line 918: if (!spi) {, implies spi might be NULL.
Function spi_get_drvdata() dereference pointer spi.
Move pointer priv assignment after the null check.

Addresses-Coverity-ID: 1408888
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2017-05-23 20:12:53 +02:00
..
adf7242.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-26 23:42:21 -05:00
at86rf230.c at86rf230: Allow slow GPIO pins for "rstn" 2017-01-12 22:12:43 +01:00
at86rf230.h at86rf230: add debugfs support 2015-09-17 13:20:05 +02:00
atusb.c ieee802154: atusb: fix driver to work with older firmware versions 2017-01-12 22:12:43 +01:00
atusb.h ieee802154: atusb: sync header file from firmware for new features 2016-12-08 07:43:29 +01:00
ca8210.c net: ieee802154: fix potential null pointer dereference 2017-05-23 20:12:53 +02:00
cc2520.c ieee802154: cc2520: Check CRC & add promiscuous 2016-01-03 09:17:42 +01:00
fakelb.c ieee802154: fakelb: print number of created fake devices during probe 2016-11-30 12:33:07 +01:00
Kconfig ieee802154: don't select COMMON_CLK 2017-04-22 10:28:40 +02:00
Makefile ieee802154: Add CA8210 IEEE 802.15.4 device driver 2017-04-12 22:02:38 +02:00
mrf24j40.c net: break include loop netdevice.h, dsa.h, devlink.h 2017-03-28 22:46:04 -07:00