diff options
| author | Chandra Seetharaman <[email protected]> | 2008-07-17 00:35:08 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-17 00:54:21 +0000 |
| commit | 33af79d12e0fa25545d49e86afc67ea8ad5f2f40 (patch) | |
| tree | 9e76151b895d102d1978df3afc58248a2adbf5dd /lib/debugobjects.c | |
| parent | Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jb... (diff) | |
| download | kernel-33af79d12e0fa25545d49e86afc67ea8ad5f2f40.tar.gz kernel-33af79d12e0fa25545d49e86afc67ea8ad5f2f40.zip | |
scsi_dh: Verify "dev" is a sdev before accessing it.
Before accessing the device data structure in hardware handlers,
make sure it is a indeed a sdev device.
Yinghai Lu <[email protected]> found the bug on Jul 16, 2008,
and later tested/verified the following fix.
Signed-off-by: Chandra Seetharaman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
