Peter Maydell 7dd47667b9 linux-user/elfload.c: Don't memset(NULL..) if malloc() failed
If a malloc() in copy_elf_strings() failed we would call memset()
before the "did malloc fail?" check. Fix this by moving to the
glib alloc/free routines for this memory so we can use g_try_malloc0
rather than having a separate memset(). Spotted by Coverity (see
bug 887883).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-11-11 12:49:53 -06:00
2011-10-06 09:48:07 +02:00
2011-11-07 10:57:36 -06:00
2011-11-07 10:57:36 -06:00
2011-10-21 18:14:30 +02:00
2011-11-07 10:57:36 -06:00
2011-10-21 18:14:30 +02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-11-07 08:01:15 +00:00
2011-11-11 12:49:51 -06:00
2011-10-27 11:48:47 -02:00
2011-11-01 10:58:08 -05:00
2011-11-01 10:58:08 -05:00
2011-10-31 21:52:17 +01:00
2011-10-31 21:52:17 +01:00
2011-11-01 10:58:08 -05:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:47 -02:00
2011-10-27 11:48:46 -02:00
2011-10-16 13:13:05 +02:00
2011-10-21 18:14:30 +02:00
2011-10-11 15:57:07 +02:00
2011-10-11 15:57:07 +02:00
2011-10-21 18:14:30 +02:00
2011-11-01 20:41:06 +01:00
2011-11-07 10:57:36 -06:00
2011-11-01 10:04:05 -05:00
2011-10-21 17:34:12 +02:00
2011-10-06 09:48:09 +02:00
2011-10-27 11:48:47 -02:00
2011-10-21 17:34:12 +02:00
2011-10-21 18:14:30 +02:00
2011-10-26 14:15:26 +01:00
2011-10-21 18:14:30 +02:00
2011-10-21 18:14:30 +02:00
2011-11-09 12:06:20 -06:00
2011-10-21 18:14:30 +02:00
2011-10-27 11:48:47 -02:00
2011-10-21 18:14:30 +02:00
2011-10-31 21:52:17 +01:00
2011-10-31 21:52:16 +01:00
2011-11-01 16:38:36 +01:00
2011-11-07 10:57:45 -06:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%