]> git.baikalelectronics.ru Git - kernel.git/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)
commitaa4b88c9f64d02eedd5bfa8f25007994ee47bb23
tree6e6862df039c1118caecc5c669a53ffded38381e
parent13b2d569187c89a58682a787701cbd88427ed2b7
[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