Skip to content
Snippets Groups Projects
Commit 2466119c authored by Timothy Baldwin's avatar Timothy Baldwin Committed by Riku Voipio
Browse files

linux-user: Check array bounds in errno conversion


Check array bounds in host_to_target_errno() and target_to_host_errno().

Signed-off-by: default avatarTimothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Message-id: 1441497448-32489-2-git-send-email-T.E.Baldwin99@members.leeds.ac.uk
[PMM: Add a lower-bound check, use braces on if(), tweak commit message]
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 287db79d
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