[PATCH] zd1201: Possible NULL dereference
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 10 Oct 2006 21:45:45 +0000 (14:45 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Oct 2006 00:09:48 +0000 (20:09 -0400)
commit683f8c9e00d2aa911382186ca891bd221efaea74
treefd93a36b300ed8ce9025b09624333c839375c932
parent7e4e8d99c2288a490a0806b9cb40016913312cfe
[PATCH] zd1201: Possible NULL dereference

If we enter the if(!zd) and set free to 1, we dereference zd in the exit
code.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1201.c