aboutsummaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorDan Carpenter2013-11-13 10:48:11 +0300
committerJames Bottomley2013-12-16 10:57:51 -0800
commit3c60cfd73966797746530768d66597d025a69804 (patch)
tree106cff66b2b58a8f4bf5c819942155fbca2029c4 /drivers/bus
parent88397c279d6d113ef67be254bc145d198e733844 (diff)
[SCSI] qla4xxx: overflow in qla4xxx_set_chap_entry()
We should cap the size of memcpy() because it comes from the network and can't be trusted. Fixes: 26ffd7b45fe9 ('[SCSI] qla4xxx: Add support to set CHAP entries') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions