]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Correct out of bounds read of ISP2200 mailbox registers.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 9 Feb 2012 19:14:08 +0000 (11:14 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 18 Feb 2012 14:47:27 +0000 (08:47 -0600)
commita618fbcf65de3fb6d41e996a83e7459878321b59
tree021105a5e86cf8888d6223202d081ebdc433cddb
parente5428eb40a275de09241f870edc40321f2f4f0d3
[SCSI] qla2xxx: Correct out of bounds read of ISP2200 mailbox registers.

ISP2200 adapters only have 24 mailbox registers so read only that many.

Reported-by: Olatunji Ruwase <oor@cs.cmu.edu>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c