linux/drivers/isdn/hysdn
Jiri Slaby d41de3c100 ISDN: hysdn, fix potential NULL dereference
Stanse found that lp is dereferenced earlier than checked for being
NULL in hysdn_rx_netpkt. Move the initialization below the test.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-26 22:12:02 -07:00
..
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
boardergo.c hysdn: Remove cli()/sti() calls. 2008-05-14 23:25:33 -07:00
boardergo.h [PATCH] hysdn: remove custom types 2006-03-25 08:22:52 -08:00
hycapi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hysdn_boot.c isdn: misplaced parenthesis in pof_handle_data() 2010-03-15 15:47:01 -07:00
hysdn_defs.h [PATCH] drivers/isdn/hysdn: save_flags()/cli(), restore_flags() replaced appropriately 2006-10-17 08:18:48 -07:00
hysdn_init.c [ISDN] hysdn: convert to PCI hotplug API 2007-10-12 09:14:49 -04:00
hysdn_net.c ISDN: hysdn, fix potential NULL dereference 2010-06-26 22:12:02 -07:00
hysdn_pof.h hysdn: remove the packed attribute from PofTimStamp_tag 2008-07-30 16:48:05 -07:00
hysdn_procconf.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hysdn_proclog.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hysdn_sched.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
ince1pc.h [PATCH] hysdn: remove custom types 2006-03-25 08:22:52 -08:00