qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 05/11] softfloat: Pad array size in pick_nan_muladd


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 05/11] softfloat: Pad array size in pick_nan_muladd
Date: Wed, 4 Dec 2024 07:19:41 +0100
User-agent: Mozilla Thunderbird

On 3/12/24 21:39, Richard Henderson wrote:
While all indices into val[] should be in [0-2], the mask
applied is two bits.  To help static analysis see there is
no possibility of read beyond the end of the array, pad the
array to 4 entries, with the final being (implicitly) NULL.

Squash in previous keeping the explanation? Regardless,

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>


Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  fpu/softfloat-parts.c.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)




reply via email to

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