diff options
author | Matthew Dobson <colpatch@us.ibm.com> | 2005-11-22 06:32:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-22 18:13:44 +0100 |
commit | 79e448bf2d71d52d28c99be4faff9cc51928f90b (patch) | |
tree | b3c8255d2384e7e8d529dc368b42563a0a1f6e0b /Documentation/arm | |
parent | [PATCH] cpufreq: silence cpufreq for UP (diff) | |
download | linux-79e448bf2d71d52d28c99be4faff9cc51928f90b.tar.xz linux-79e448bf2d71d52d28c99be4faff9cc51928f90b.zip |
[PATCH] Fix a bug in scsi_get_command
scsi_get_command() attempts to write into a structure that may not have
been successfully allocated. Move this write inside the if statement that
ensures we won't panic the kernel with a NULL pointer dereference.
Signed-off-by: Matthew Dobson <colpatch@us.ibm.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/arm')
0 files changed, 0 insertions, 0 deletions