On Tue, 4 Apr 2023 at 08:45, Feng Jiang <jiangf...@kylinos.cn> wrote: > > When 'res' equals -1, the array 's->g_timer.reg.comp[]' is accessed > out of bounds. > > Signed-off-by: Feng Jiang <jiangf...@kylinos.cn> > --- > hw/timer/exynos4210_mct.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-)
Only happens if you change the source code to enable the debug printfs though, which isn't the default. I'll tweak the commit message to make that clearer. Applied to target-arm.next for 8.1, thanks. -- PMM