commit | 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 15 16:44:56 2016 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Sep 15 09:58:25 2016 -0400 |
tree | e075d49871cb515e0d967fb11c39440309ae8d8e | |
parent | 38247feb60512a52c4f847933f8f931284dc21f4 [diff] |
scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer() We need to put an upper bound on "user_len" so the memcpy() doesn't overflow. Cc: <stable@vger.kernel.org> Reported-by: Marco Grassi <marco.gra@gmail.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>