[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tcg: Fix info_in_idx increment in layout_arg_by_ref
From: |
Peter Maydell |
Subject: |
Re: [PATCH] tcg: Fix info_in_idx increment in layout_arg_by_ref |
Date: |
Thu, 13 Jul 2023 13:37:31 +0100 |
On Fri, 7 Jul 2023 at 11:29, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Off by one error, failing to take into account that layout_arg_1
> already incremeneted info_in_idx for the first piece. We only
> need care for the n-1 TCG_CALL_ARG_BY_REF_N pieces here.
>
> Cc: qemu-stable@nongnu.org
> Fixes: 313bdea84d2 ("tcg: Add TCG_CALL_{RET,ARG}_BY_REF")
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1751
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
Tested-by: Peter Maydell <peter.maydell@linaro.org>
-- PMM