aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine.py
diff options
context:
space:
mode:
authorJulia Suvorova <jusual@redhat.com>2020-03-18 14:48:49 +0100
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2020-03-21 19:13:12 +0200
commit1d2695ef02771f8adecf6b173ad7bcd8ddbaec67 (patch)
tree418edf0283f983ce5cceedb5088c18ebe26b904e /python/qemu/machine.py
parent52a96afaa23d883d281bc7b95b9e69db7d6d3d3f (diff)
downloadqemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.zip
qemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.tar.gz
qemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.tar.bz2
hw/rdma/vmw/pvrdma_dev_ring: Replace strncpy with pstrcpy
ring->name is defined as 'char name[MAX_RING_NAME_SZ]'. Replace untruncated strncpy with QEMU function. This case prevented QEMU from compiling with --enable-sanitizers. Signed-off-by: Julia Suvorova <jusual@redhat.com> Message-Id: <20200318134849.237011-1-jusual@redhat.com> Reviewed-by: Yuval Shaia <yuval.shaia.ml.gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions