[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/timer/sse-timer: Propagate eventual error in sse_timer_re
From: |
Peter Maydell |
Subject: |
Re: [PATCH] hw/timer/sse-timer: Propagate eventual error in sse_timer_realize() |
Date: |
Fri, 12 Mar 2021 12:44:07 +0000 |
On Fri, 12 Mar 2021 at 00:18, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> If the SSECounter link is absent, we set an error message
> in sse_timer_realize() but forgot to propagate this error.
> Add the missing 'return'.
>
> Fixes: CID 1450755 (Null pointer dereferences)
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/timer/sse-timer.c | 1 +
> 1 file changed, 1 insertion(+)
Applied to target-arm.next, thanks.
-- PMM