xemu/linux-user
Peter Maydell 022625a8ad linux-user: Check copy_from_user() return value in vma_dump_size()
Coverity points out that we don't check the return value from
copy_from_user() in vma_dump_size(). This is to some extent
a "can't happen" error since we've already checked the page
with an access_ok() call earlier, but it's simple enough to
handle the error anyway.

Fixes: Coverity CID 1432362
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201103141532.19912-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-11-04 22:28:05 +01:00
..
2020-10-29 11:40:04 +00:00
2019-06-12 13:20:21 +02:00
2020-08-21 06:30:38 -04:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2020-02-12 18:56:41 +01:00
2019-06-10 07:03:34 -07:00