commit | 9351982b25ace7ee5ed82b6f4a7ea1151f31d267 | [log] [tgz] |
---|---|---|
author | Micah Gruber <micah.gruber@gmail.com> | Mon Jul 23 16:05:52 2007 +0800 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Jul 30 15:44:50 2007 -0400 |
tree | c12bba41d41a68e44bf8fdaeb9780fc17a0c647d | |
parent | 80ba80a9bf25d251237694c3fcee850a73324532 [diff] |
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 <micah.gruber@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>