diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-24 18:57:23 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-03-02 12:35:46 +0100 |
commit | 15803478fdea964e5f76079851fcd13068208d5d (patch) | |
tree | 153bc372845c2223ec798ff4c0f3896221fe4e97 /drivers/firewire/fw-sbp2.c | |
parent | firewire: fw-sbp2: better fix for NULL pointer dereference in scsi_remove_device (diff) | |
download | linux-15803478fdea964e5f76079851fcd13068208d5d.tar.xz linux-15803478fdea964e5f76079851fcd13068208d5d.zip |
firewire: potentially invalid pointers used in fw_card_bm_work
The bus management workqueue job was in danger to dereference NULL
pointers. Also, after having temporarily lifted card->lock, a few node
pointers and a device pointer may have become invalid.
Add NULL pointer checks and get the necessary references. Also, move
card->local_node out of fw_card_bm_work's sight during shutdown of the
card.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
0 files changed, 0 insertions, 0 deletions