summaryrefslogtreecommitdiffstats
path: root/replication.h
diff options
context:
space:
mode:
authorJulia Suvorova2020-03-18 14:48:49 +0100
committerMarcel Apfelbaum2020-03-21 18:13:12 +0100
commit1d2695ef02771f8adecf6b173ad7bcd8ddbaec67 (patch)
tree418edf0283f983ce5cceedb5088c18ebe26b904e /replication.h
parentMerge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-5.0-pull-re... (diff)
downloadqemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.tar.gz
qemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.tar.xz
qemu-1d2695ef02771f8adecf6b173ad7bcd8ddbaec67.zip
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 'replication.h')
0 files changed, 0 insertions, 0 deletions