linux/drivers/isdn/capi
Jesper Juhl e8a285b7b1 isdn: guard against a potential NULL pointer dereference in old_capi_manufacturer()
In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call to
get_capi_ctr_by_nr(ldef.contr); in line 823 returns NULL, then we'll be
dereferencing a NULL pointer in the very next line.

(Found by Coverity checker as bug #402)

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:10 -07:00
..
capi.c isdn/capi warning fixes 2007-07-17 10:23:06 -07:00
capidrv.c fix possible NULL deref on low memory condition in capidrv.c::send_message() 2007-10-16 09:43:10 -07:00
capidrv.h
capifs.c
capifs.h
capilib.c
capiutil.c make drivers/isdn/capi/capiutil.c:cdebbuf_alloc() static 2007-05-08 11:15:16 -07:00
kcapi_proc.c Make ISDN CAPI use seq_list_xxx helpers 2007-07-17 10:23:05 -07:00
kcapi.c isdn: guard against a potential NULL pointer dereference in old_capi_manufacturer() 2007-10-16 09:43:10 -07:00
kcapi.h
Kconfig Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI 2007-07-17 10:23:05 -07:00
Makefile