qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH for-7.1] linux-user/flatload.c: Fix setting of image_info::en


From: Richard Henderson
Subject: Re: [PATCH for-7.1] linux-user/flatload.c: Fix setting of image_info::end_code
Date: Thu, 28 Jul 2022 10:11:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 7/28/22 08:14, Peter Maydell wrote:
The flatload loader sets the end_code field in the image_info struct
incorrectly, due to a typo.

This is a very long-standing bug (dating all the way back to when
the bFLT loader was added in 2006), but has gone unnoticed because
(a) most people don't use bFLT binaries
(b) we don't actually do anything with the end_code field, except
     print it in debugging traces and pass it to TCG plugins

Fix the typo.

Resolves:https://gitlab.com/qemu-project/qemu/-/issues/1119
Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  linux-user/flatload.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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

r~



reply via email to

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