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/timer/lm32_timer.c | |
| parent | 3283dde4b5b5cce0f96f48d536bebff66d97ce0b (diff) | |
| download | focaccia-qemu-389abe1dd1790c0de7a2f1f422dcdf778b509a16.tar.gz focaccia-qemu-389abe1dd1790c0de7a2f1f422dcdf778b509a16.zip | |
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/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions