aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma/rdma_backend.c
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 /hw/rdma/rdma_backend.c
parent52a96afaa23d883d281bc7b95b9e69db7d6d3d3f (diff)
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 'hw/rdma/rdma_backend.c')
0 files changed, 0 insertions, 0 deletions