qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 1/2] linux-user/elfload: test return value of getrlimit


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 1/2] linux-user/elfload: test return value of getrlimit
Date: Mon, 22 Jan 2024 12:42:37 +0100
User-agent: Mozilla Thunderbird

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.henderson@linaro.org>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
---
  linux-user/elfload.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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