Re: [PATCH] linux-user: Use signed lengths in uaccess.c

2021-04-07 Thread Laurent Vivier
Le 07/04/2021 à 17:16, Peter Maydell a écrit : > On Mon, 15 Mar 2021 at 21:07, Laurent Vivier 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 chec

Re: [PATCH] linux-user: Use signed lengths in uaccess.c

2021-04-07 Thread Peter Maydell
On Mon, 15 Mar 2021 at 21:07, Laurent Vivier 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 >

Re: [PATCH] linux-user: Use signed lengths in uaccess.c

2021-03-15 Thread Laurent Vivier
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 Hend

Re: [PATCH] linux-user: Use signed lengths in uaccess.c

2021-03-15 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210315204004.2025219-1-richard.hender...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210315204004.2025219-1-richard.hender...@linaro.org Subject: [PATCH] linux-u