summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorDaniel P. Berrange2016-01-19 12:14:28 +0100
committerPaolo Bonzini2016-01-26 15:50:54 +0100
commit0ff0fad23d3693ecf7a0c462cdb48f0e60f93808 (patch)
treeadc7766f25c5ff425fc63f3e89e5f5ef084ce8ae /qapi-schema.json
parentMerge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' in... (diff)
downloadqemu-0ff0fad23d3693ecf7a0c462cdb48f0e60f93808.tar.gz
qemu-0ff0fad23d3693ecf7a0c462cdb48f0e60f93808.tar.xz
qemu-0ff0fad23d3693ecf7a0c462cdb48f0e60f93808.zip
char: remove fixed length filename allocation
A variety of places were snprintf()ing into a fixed length filename buffer. Some of the buffers were stack allocated, while another was heap allocated with g_malloc(). Switch them all to heap allocated using g_strdup_printf() avoiding arbitrary length restrictions. This also facilitates later patches which will want to populate the filename by calling external functions which do not support use of a pre-allocated buffer. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1453202071-10289-2-git-send-email-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions