Re: [PATCH] ISDN: hysdn, fix potential NULL dereference

From: David Miller
Date: Sun Jun 27 2010 - 01:12:53 EST


From: Jiri Slaby <jslaby@xxxxxxx>
Date: Tue, 22 Jun 2010 13:41:36 +0200

> 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@xxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/