qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH] cadence_uart: Fix buffer overflow


From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [PATCH] cadence_uart: Fix buffer overflow
Date: Sat, 22 Sep 2012 16:30:55 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Sep 01, 2012 at 11:12:23AM +0200, Stefan Weil wrote:
> Report from smatch:
> hw/cadence_uart.c:413 uart_read(13) error: buffer overflow 's->r' 18 <= 18
> 
> This fixes read access to s->r[R_MAX] which is behind the limits of s->r.
> 
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>  hw/cadence_uart.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan



reply via email to

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