« Previous | Next » 

Revision 69d4c703

ID69d4c703a549f0630793a67b16a8fc6bc14c8654

Added by Peter Maydell about 10 years ago

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 <>
Signed-off-by: Riku Voipio <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences