qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] sd: limit 'req.cmd' while using as an array


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] sd: limit 'req.cmd' while using as an array index
Date: Tue, 9 Feb 2016 17:04:47 +0000

On 20 January 2016 at 18:50, P J P <address@hidden> wrote:
> From: Prasad J Pandit <address@hidden>
>
> While processing standard SD commands, the 'req.cmd' value could
> lead to OOB read when used as an index into 'sd_cmd_type' or
> 'sd_cmd_class' arrays. Limit 'req.cmd' value to avoid such an
> access.
>
> Reported-by: Qinghao Tang <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>



Applied to target-arm.next, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]