From: Micah Gruber Date: Mon, 23 Jul 2007 08:05:52 +0000 (+0800) Subject: Fix a potential NULL pointer dereference in write_bulk_callback() in drivers/net... X-Git-Tag: v2.6.23-rc2~148^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9351982b25ace7ee5ed82b6f4a7ea1151f31d267;p=pandora-kernel.git Fix a potential NULL pointer dereference in write_bulk_callback() in drivers/net/usb/pegasus.c This patch fixes a potential null dereference bug where we dereference pegasus before a null check. This patch simply moves the dereferencing after the null check. Signed-off-by: Micah Gruber Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed