diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-07 10:17:44 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-15 08:02:32 +0100 |
| commit | e18ed26ce785f74a17e6f3a095647e08ba6fc669 (patch) | |
| tree | edeae0ffed76a2b700bc84fd0d421836fe8276e3 /linux-user/syscall.c | |
| parent | cb62bd15e14e304617d250158b77d0deb032f032 (diff) | |
| download | focaccia-qemu-e18ed26ce785f74a17e6f3a095647e08ba6fc669.tar.gz focaccia-qemu-e18ed26ce785f74a17e6f3a095647e08ba6fc669.zip | |
tcg: Fix info_in_idx increment in layout_arg_by_ref
Off by one error, failing to take into account that layout_arg_1
already incremented 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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions