Skip to content
Snippets Groups Projects
Commit 802ae45e authored by Laurent Vivier's avatar Laurent Vivier
Browse files

linux-user: fix Coverity CID 1464101


target_mmap() can fail and return -1, but we don't check for that and
instead assume it's always valid.

Fixes: db2af69d ("linux-user: Add infrastructure for a signal trampoline page")
Cc: richard.henderson@linaro.org
Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20211121151711.331653-1-laurent@vivier.eu>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent aee14c77
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment