summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hysdn/hysdn_sched.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-06-22 03:41:36 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-27 07:12:02 +0200
commitd41de3c10047d5f0b661593a8f4610a19f87621f (patch)
treebb5384b0601f5afa5aff283e9824cc5893c8ec5d /drivers/isdn/hysdn/hysdn_sched.c
parentvxge: fix memory leak in vxge_alloc_msix() error path (diff)
downloadlinux-d41de3c10047d5f0b661593a8f4610a19f87621f.tar.xz
linux-d41de3c10047d5f0b661593a8f4610a19f87621f.zip
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>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_sched.c')
0 files changed, 0 insertions, 0 deletions