mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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> |
||
|---|---|---|
| .. | ||
| h | ||
| cfm.c | ||
| drvfbi.c | ||
| ecm.c | ||
| ess.c | ||
| fplustm.c | ||
| hwmtm.c | ||
| hwt.c | ||
| Makefile | ||
| pcmplc.c | ||
| pmf.c | ||
| queue.c | ||
| rmt.c | ||
| skfddi.c | ||
| smt.c | ||
| smtdef.c | ||
| smtinit.c | ||
| smttimer.c | ||
| srf.c | ||