2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/scsi/arcmsr
Dan Carpenter 7bc2b55a5c 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>
2016-09-15 09:58:25 -04:00
..
arcmsr_attr.c arcmsr: simplify ioctl data read/write 2014-09-25 14:23:40 +02:00
arcmsr_hba.c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer() 2016-09-15 09:58:25 -04:00
arcmsr.h arcmsr: change driver version to v1.30.00.22-20151126 2015-11-30 18:51:20 -05:00
Makefile