diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-09-15 13:44:56 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-15 13:58:25 (GMT) |
commit | 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 (patch) | |
tree | e075d49871cb515e0d967fb11c39440309ae8d8e /drivers/scsi/mvumi.h | |
parent | 38247feb60512a52c4f847933f8f931284dc21f4 (diff) | |
download | linux-7bc2b55a5c030685b399bb65b6baa9ccc3d1f167.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/mvumi.h')
0 files changed, 0 insertions, 0 deletions