summaryrefslogtreecommitdiff
path: root/drivers/mfd/stmpe.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-01-25 17:27:27 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-30 21:32:06 -0500
commita7043e9529f3c367cc4d82997e00be034cbe57ca (patch)
treec45139a48317508144e8d670a7d8507abc4f22b5 /drivers/mfd/stmpe.h
parente6f791d95313c85f3dd4a26141e28e50ae9aa0ae (diff)
scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo()
My static checker complains about an out of bounds read: drivers/message/fusion/mptctl.c:2786 mptctl_hp_targetinfo() error: buffer overflow 'hd->sel_timeout' 255 <= u32max. It's true that we probably should have a bounds check here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/mfd/stmpe.h')
0 files changed, 0 insertions, 0 deletions