]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] orinoco: possible null pointer dereference in orinoco_rx_monitor()
authorFlorin Malita <fmalita@gmail.com>
Tue, 23 May 2006 05:35:30 +0000 (22:35 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 23 May 2006 17:35:32 +0000 (10:35 -0700)
commit9e7a7aec10bbf2a4cf2eb4547acf6c41b4e061ae
tree6cbe07bc4a9ceeed0c35f5f15b5b5cd9f5dba319
parent366a5191bb6002ff122a065b40c115832d1cfa02
[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>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/wireless/orinoco.c