[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] linux-user: Use signed lengths in uaccess.c
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] linux-user: Use signed lengths in uaccess.c |
Date: |
Wed, 7 Apr 2021 18:49:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Le 07/04/2021 à 17:16, Peter Maydell a écrit :
> On Mon, 15 Mar 2021 at 21:07, Laurent Vivier <laurent@vivier.eu> wrote:
>>
>> Le 15/03/2021 à 21:40, Richard Henderson a écrit :
>>> Partially revert 09f679b62dff, but only for the length arguments.
>>> Instead of reverting to long, use ssize_t. Reinstate the > 0 check
>>> in unlock_user.
>>>
>>> Fixes: 09f679b62dff
>>> Reported-by: Coverity (CID 1446711)
>>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>
>> Reviewed-by: Laurent Vivier <laurent@vivier.eu>
>
> Hi -- did this patch get lost? I think we should put it into 6.0.
It seems so... thank you.
I prepare a PR with it.
Laurent