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
2010-02-06 17:19:43 +01:00
2014-02-18 16:54:06 +02:00
2008-12-13 09:32:43 +00:00
2007-10-14 16:27:31 +00:00
2014-01-10 08:51:37 +02:00
2014-02-19 12:29:23 +02:00
2008-05-23 16:06:43 +00:00
2014-01-10 08:51:37 +02:00
2010-10-05 13:53:56 -05:00
2014-01-08 19:07:20 +00:00
2012-06-07 07:17:33 +02: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-04-05 14:40:54 +02: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
2011-02-09 10:33:54 +02:00
2009-07-01 18:24:44 +00:00
2011-10-27 14:42:16 +03:00