mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
7d31acda9f
The dereferencing of the private pointer cmsg->m in capi_cmsg2str() may cause an Oops in case of an error, which is particularly inconvenient as that function is typically used to format an error message. Add a NULL pointer check to avoid this. Impact: error handling improvement Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
capi.c | ||
capidrv.c | ||
capidrv.h | ||
capifs.c | ||
capifs.h | ||
capilib.c | ||
capiutil.c | ||
kcapi_proc.c | ||
kcapi.c | ||
kcapi.h | ||
Kconfig | ||
Makefile |