linux_dsm_epyc7002/drivers/isdn
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
..
act2000 Use menuconfig objects - CONFIG_ISDN_I4L 2007-07-21 17:49:17 -07:00
capi isdn: guard against a potential NULL pointer dereference in old_capi_manufacturer() 2007-10-16 09:43:10 -07:00
divert [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
gigaset gigaset: remove pointless locking 2007-10-16 09:43:10 -07:00
hardware [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
hisax hisax: hfc_usb: update to current CVS version 2007-10-14 12:45:14 -07:00
hysdn [ISDN] hysdn: convert to PCI hotplug API 2007-10-12 09:14:49 -04:00
i4l use mutex instead of semaphore in isdn subsystem common functions 2007-10-16 09:43:10 -07:00
icn Use menuconfig objects - CONFIG_ISDN_I4L 2007-07-21 17:49:17 -07:00
isdnloop ISDN: Spinlock initializer cleanup 2007-05-08 11:15:17 -07:00
pcbit Use menuconfig objects - CONFIG_ISDN_I4L 2007-07-21 17:49:17 -07:00
sc Use menuconfig objects - CONFIG_ISDN_I4L 2007-07-21 17:49:17 -07:00
Kconfig Use menuconfig objects: ISDN 2007-07-21 17:49:17 -07:00
Makefile [PATCH] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles 2006-03-26 08:57:05 -08:00