summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2016-07-25 11:03:44 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-03 18:42:35 +0200
commit071d4054770205ddb8a58a9e2735069d8fe52af1 (patch)
tree3004d8291f4f13c857327005942d7908123652e4 /tests
parentf9dbc19e8bf58d0cbc830083352475bb16f315c4 (diff)
downloadqemu-071d4054770205ddb8a58a9e2735069d8fe52af1.tar.gz
qemu-071d4054770205ddb8a58a9e2735069d8fe52af1.tar.bz2
qemu-071d4054770205ddb8a58a9e2735069d8fe52af1.zip
qdist: use g_renew and g_new instead of g_realloc and g_malloc.
This is safer against overflow. g_renew is available in all version of glib, while g_realloc_n is only available in 2.24. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1469459025-23606-3-git-send-email-cota@braap.org> [Rewritten to use g_new/g_renew. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions