linux-hardened/drivers/isdn
Jesper Juhl f6e2cdc8aa [PATCH] ISDN: Avoid a potential NULL ptr deref in ippp
There's a potential problem in isdn_ppp.c::isdn_ppp_decompress().
dev_alloc_skb() may fail and return NULL. If it does we will be passing a
NULL skb_out to ipc->decompress() and may also end up
dereferencing a NULL pointer at

    *proto = isdn_ppp_strip_proto(skb_out);

Correct this by testing 'skb_out' against NULL early and bail out.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-08 08:29:01 -08:00
..
act2000 WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
capi [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
divert [PATCH] severing skbuff.h -> mm.h 2006-12-04 02:00:34 -05:00
gigaset [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
hardware [PATCH] isdn: fix missing unregister_capi_driver 2006-12-08 08:29:01 -08:00
hisax [PATCH] isdn/hisax: use bitrev8 2006-12-08 08:28:40 -08:00
hysdn [PATCH] struct path: convert isdn 2006-12-08 08:28:46 -08:00
i4l [PATCH] ISDN: Avoid a potential NULL ptr deref in ippp 2006-12-08 08:29:01 -08:00
icn [PATCH] ISDN: check for userspace copy faults 2006-10-17 08:18:49 -07:00
isdnloop [PATCH] ISDN: check for userspace copy faults 2006-10-17 08:18:49 -07:00
pcbit WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sc [PATCH] ISDN: several minor fixes 2006-10-11 11:14:25 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles 2006-03-26 08:57:05 -08:00