]> 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)
commit2a10c27c3c852f7a24fb45788efe805f202df339
tree021105a5e86cf8888d6223202d081ebdc433cddb
parentb914301dc4207ece8a176040cd86293ed5066123
[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