commit | 792a402c2840054533ef56279c212ef6da87d811 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Tue Jan 22 14:18:42 2019 -0600 |
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Wed Mar 04 21:46:11 2020 +0100 |
tree | a8706dac3da5bbdef7445bd5c0e1866cfb7b0c6d | |
parent | 172a37e9d011510aee37f62cc5ac4e53e49d17bb [diff] |
MIPS: OCTEON: irq: Fix potential NULL pointer dereference 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>