Re: [PATCH] linux-user: fix Coverity CID 1464101

2021-11-22 Thread Laurent Vivier
Le 21/11/2021 à 16:17, Laurent Vivier a écrit : target_mmap() can fail and return -1, but we don't check for that and instead assume it's always valid. Fixes: db2af69d6ba8 ("linux-user: Add infrastructure for a signal trampoline page") Cc: richard.hender...@linaro.org Reported-by: Peter Maydell

Re: [PATCH] linux-user: fix Coverity CID 1464101

2021-11-21 Thread Richard Henderson
On 11/21/21 4:17 PM, Laurent Vivier wrote: target_mmap() can fail and return -1, but we don't check for that and instead assume it's always valid. Fixes: db2af69d6ba8 ("linux-user: Add infrastructure for a signal trampoline page") Cc: richard.hender...@linaro.org Reported-by: Peter Maydell Sig