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
..
2006-11-22 14:57:56 +00:00
2006-12-08 08:28:57 -08:00
2006-12-04 02:00:34 -05:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:40 -08:00
2006-12-08 08:28:46 -08:00
2006-11-22 14:57:56 +00:00
2006-10-11 11:14:25 -07:00