On 20/1/24 22:45, Thomas Weißschuh wrote:
Should getrlimit() fail the value of dumpsize.rlimit_cur may not be initialized. Avoid reading garbage data by checking the return value of getrlimit.Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Thomas Weißschuh <tho...@t-8ch.de> --- linux-user/elfload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>