linux-stable/drivers/net/fddi
YueHaibing 6310a882fb net: fddi: fix a possible null-ptr-deref
bp->SharedMemAddr is set to NULL while bp->SharedMemSize lesser-or-equal 0,
then memset will trigger null-ptr-deref.

fix it by replacing pci_alloc_consistent with dma_zalloc_coherent.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-08 18:47:46 -04:00
..
skfp net: fddi: fix a possible null-ptr-deref 2018-06-08 18:47:46 -04:00
defxx.c net: defxx: constify eisa_device_id 2017-08-19 17:13:41 -07:00
defxx.h
Kconfig
Makefile