mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
The call to nla_nest_start calls nla_put which can lead to a NULL
return so it's possible for attr to become NULL and we can potentially
get a NULL pointer dereference on attr. Fix this by checking for
a NULL return.
Detected by CoverityScan, CID#1466125 ("Dereference null return")
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| ncsi-aen.c | ||
| ncsi-cmd.c | ||
| ncsi-manage.c | ||
| ncsi-netlink.c | ||
| ncsi-netlink.h | ||
| ncsi-pkt.h | ||
| ncsi-rsp.c | ||