qemu/qobject
Peter Xu de4905f4bc qdict: fix unbounded stack warning for qdict_array_entries
Here we use one g_strdup_printf() to replace the two stack allocated
array, considering it's more convenient, safe, and as long as it's
called rarely only when quorum device opens. This will remove the
unbound stack warning when compiling with "-Wstack-usage=1000000".

Reviewed-by:   Eric Blake <eblake@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-05-18 15:04:26 +03:00
..
Makefile.objs qobject: Simplify QObject 2015-12-17 08:21:28 +01:00
json-lexer.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
json-parser.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
json-streamer.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qbool.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qdict.c qdict: fix unbounded stack warning for qdict_array_entries 2016-05-18 15:04:26 +03:00
qfloat.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qint.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qjson.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
qlist.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qnull.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qobject.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qstring.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00