xemu/linux-user
Peter Maydell 69d4c703a5 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>
2014-02-19 12:29:23 +02:00
..
2014-02-19 12:29:23 +02:00
2010-10-05 13:53:56 -05:00
2013-07-22 21:54:52 +03:00
2009-07-01 18:24:44 +00:00