summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-22 14:18:42 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-24 07:58:54 +0200
commit60fa37e53512cd147c6c07fde6a13b5269544d2f (patch)
tree4ff084a37b2dc873f0d93f01a9c91a1d931f5330 /drivers/net/wireless/ath/ath9k/main.c
parentdd8faa3ad5d46e08a641fee2bf6306e2b7f0d4c6 (diff)
MIPS: OCTEON: irq: Fix potential NULL pointer dereference
commit 792a402c2840054533ef56279c212ef6da87d811 upstream. There is a potential NULL pointer dereference in case kzalloc() fails and returns NULL. Fix this by adding a NULL check on *cd* This bug was detected with the help of Coccinelle. Fixes: 64b139f97c01 ("MIPS: OCTEON: irq: add CIB and other fixes") Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
0 files changed, 0 insertions, 0 deletions