WSL2-Linux-Kernel/drivers/isdn/capi
Tilman Schmidt 7d31acda9f isdn: prevent NULL ptr Oops in capi_cmsg2str()
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>
2009-06-08 00:45:51 -07:00
..
Kconfig Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI 2007-07-17 10:23:05 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capi.c proc tty: remove struct tty_operations::read_proc 2009-04-01 08:59:10 -07:00
capidrv.c isdn: capi: &&/|| typos 2009-01-04 16:22:04 -08:00
capidrv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capifs.c Fix the race between capifs remount and node creation 2009-05-09 10:51:34 -04:00
capifs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capilib.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
capiutil.c isdn: prevent NULL ptr Oops in capi_cmsg2str() 2009-06-08 00:45:51 -07:00
kcapi.c isdn: rename capi_ctr_reseted() to capi_ctr_down() 2009-06-08 00:45:50 -07:00
kcapi.h isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
kcapi_proc.c drivers/isdn/capi: fix sparse warning: context imbalance 2009-02-27 01:00:41 -08:00