1
linux/drivers/isdn/capi
Jesper Juhl b1b2e7cf4a fix possible NULL deref on low memory condition in capidrv.c::send_message()
If we fail to allocate an skb in
drivers/isdn/capi/capidrv.c::send_message(), then we'll end up
dereferencing a NULL pointer.
Since out of memory conditions are not unheard of, I believe it
is better to print a error message and just return rather than
bring down the whole kernel.
Sure, doing this may upset some application, but that's still
better than crashing the whole system.

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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capifs.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
capifs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capilib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Use mutex instead of semaphore in CAPI 2.0 driver 2007-07-17 10:23:05 -07:00
kcapi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -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