mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() If skb allocation fails, the pointer to struct can_frame is NULL. This
is actually handled everywhere inside ctucan_err_interrupt() except for
the only place.
Add the missed NULL check.
Found by Linux Verification Center (linuxtesting.org) with SVACE static
analysis tool.
Fixes:
|
||
---|---|---|
.. | ||
ctucanfd_base.c | ||
ctucanfd_kframe.h | ||
ctucanfd_kregs.h | ||
ctucanfd_pci.c | ||
ctucanfd_platform.c | ||
ctucanfd.h | ||
Kconfig | ||
Makefile |