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-01-08 19:07:20 +00:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2014-02-18 16:45:55 +02:00
2013-11-29 11:42:04 +02:00
2014-02-18 16:45:55 +02:00
2013-09-10 19:11:28 +01:00
2014-02-18 16:54:06 +02:00
2014-01-10 08:51:37 +02:00
2014-02-19 12:29:23 +02:00
2014-01-10 08:51:37 +02:00
2014-01-08 19:07:20 +00:00
2013-07-22 21:54:52 +03:00
2014-01-10 08:51:37 +02:00
2014-02-18 16:54:06 +02:00
2013-07-05 15:45:40 +03:00
2013-09-24 10:47:07 +03:00
2014-02-19 12:29:23 +02:00
2014-02-19 12:29:23 +02:00
2014-02-19 12:29:23 +02:00