qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW


From: Richard Henderson
Subject: Re: [PATCH] target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue
Date: Wed, 24 Jul 2024 12:59:33 +1000
User-agent: Mozilla Thunderbird

On 7/24/24 11:58, Song Gao wrote:
When the lddir level is 4 and the base is a HugePage, we may try to put value 4
into a field in the TLBENTRY that is only 2 bits wide.

Fixes: Coverity CID 1547717
Fixes: 9c70db9a43388 ("target/loongarch: Fix tlb huge page loading issue")
Signed-off-by: Song Gao<gaosong@loongson.cn>
---
  target/loongarch/tcg/tlb_helper.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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