Re: [PATCH] esas2r: Fix array overrun

2016-02-17 Thread Martin K. Petersen
> "Alan" == Alan writes: Alan> Check the array size *before* dereferencing it with a user Alan> provided offset Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message

Re: [PATCH] esas2r: Fix array overrun

2016-02-16 Thread Tomas Henzl
On 15.2.2016 20:01, Alan wrote: > Check the array size *before* dereferencing it with a user provided offset > > Signed-off-by: Alan Cox Reviewed-by: Tomas Henzl Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org

Re: [PATCH] esas2r: Fix array overrun

2016-02-15 Thread Johannes Thumshirn
On Mon, Feb 15, 2016 at 07:01:29PM +, Alan wrote: > Check the array size *before* dereferencing it with a user provided offset > > Signed-off-by: Alan Cox > --- > drivers/scsi/esas2r/esas2r_ioctl.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi

[PATCH] esas2r: Fix array overrun

2016-02-15 Thread Alan
Check the array size *before* dereferencing it with a user provided offset Signed-off-by: Alan Cox --- drivers/scsi/esas2r/esas2r_ioctl.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/esas2r/esas2r_ioctl.c b/drivers/scsi/esas2r/esas2r_ioctl.c index baf