]> err.no Git - linux-2.6/commit
[PATCH] orinoco: possible null pointer dereference in orinoco_rx_monitor()
authorFlorin Malita <fmalita@gmail.com>
Sun, 21 May 2006 21:04:44 +0000 (14:04 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 May 2006 18:39:04 +0000 (14:39 -0400)
commit82464e63a0653a4d8e5c684fcb41b163e6357c6d
tree6e6862df039c1118caecc5c669a53ffded38381e
parent353b28bafd1b962359a866ff263a7fad833d29a1
[PATCH] orinoco: possible null pointer dereference in orinoco_rx_monitor()

If the skb allocation fails, the current error path calls
dev_kfree_skb_irq() with a NULL argument.  Also, 'err' is not being used.

Coverity CID: 275.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco.c