diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-10-19 09:29:55 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-10-20 14:54:04 (GMT) |
commit | cb174681a9ececa6702f114b85bdf82144b6a5af (patch) | |
tree | 569ab434de51b3d323de65426f8cd55281b9e765 /drivers/scsi/bfa/include/bfi/bfi_lps.h | |
parent | a850ea30374ebed32a0724742601861853fde869 (diff) | |
download | linux-fsl-qoriq-cb174681a9ececa6702f114b85bdf82144b6a5af.tar.xz |
HID: hidraw: fix window in hidraw_release
There is a window between hidraw_table check and its dereference.
In that window, the device may be unplugged and removed form the
system and we will then dereference NULL.
Lock that place properly so that either we get NULL and jump out or we
can work with real pointer.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/bfa/include/bfi/bfi_lps.h')
0 files changed, 0 insertions, 0 deletions