Revision 69d4c703
ID | 69d4c703a549f0630793a67b16a8fc6bc14c8654 |
linux-user: Fix error handling in target_to_host_semarray()
Fix two issues in error handling in target_to_host_semarray(): * don't leak the host_array buffer if lock_user fails * return an error if malloc() fails
v2: added missing * -Riku Voipio
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Files
- added
- modified
- copied
- renamed
- deleted