diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2019-07-23 16:17:54 +0530 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2019-07-29 16:29:30 +0800 |
commit | 389abe1dd1790c0de7a2f1f422dcdf778b509a16 (patch) | |
tree | 13209bb67ac19a10c74c3cf510704c9ab460740c /hw | |
parent | 3283dde4b5b5cce0f96f48d536bebff66d97ce0b (diff) | |
download | qemu-389abe1dd1790c0de7a2f1f422dcdf778b509a16.zip qemu-389abe1dd1790c0de7a2f1f422dcdf778b509a16.tar.gz qemu-389abe1dd1790c0de7a2f1f422dcdf778b509a16.tar.bz2 |
net: tap: replace snprintf with g_strdup_printf calls
When invoking qemu-bridge-helper in 'net_bridge_run_helper',
instead of using fixed sized buffers, use dynamically allocated
ones initialised and returned by g_strdup_printf().
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions