|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] tcg: Fix info_in_idx increment in layout_arg_by_ref |
Date: | Fri, 7 Jul 2023 15:30:20 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 7/7/23 12:29, Richard Henderson 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
"incremented"
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> --- tcg/tcg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[Prev in Thread] | Current Thread | [Next in Thread] |