mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-26 13:13:39 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| capi.c | ||
| capidrv.c | ||
| capidrv.h | ||
| capifs.c | ||
| capifs.h | ||
| capilib.c | ||
| capiutil.c | ||
| kcapi.c | ||
| kcapi.h | ||
| kcapi_proc.c | ||
| Kconfig | ||
| Makefile | ||