summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2019-07-23 16:17:54 +0530
committerJason Wang <jasowang@redhat.com>2019-07-29 16:29:30 +0800
commit389abe1dd1790c0de7a2f1f422dcdf778b509a16 (patch)
tree13209bb67ac19a10c74c3cf510704c9ab460740c /docs/devel/secure-coding-practices.rst
parent3283dde4b5b5cce0f96f48d536bebff66d97ce0b (diff)
downloadfocaccia-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 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions