qemu-e2k/hw/9pfs
Jim Meyering 9238c2099d virtio-9p: avoid unwarranted uses of strncpy
In all of these cases, the uses of strncpy were unnecessary, since
at each point of use we know that the NUL-terminated source bytes
fit in the destination buffer.  Use memcpy in place of strncpy.

Acked-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-10-05 07:58:37 -05:00
..
codir.c
cofile.c
cofs.c
coxattr.c
Makefile.objs
virtio-9p-coth.c
virtio-9p-coth.h
virtio-9p-device.c
virtio-9p-handle.c
virtio-9p-local.c
virtio-9p-posix-acl.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-proxy.c
virtio-9p-proxy.h
virtio-9p-synth.c hw/9pfs: avoid buffer overrun 2012-10-05 07:58:37 -05:00
virtio-9p-synth.h
virtio-9p-xattr-user.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.h
virtio-9p.c hw/9pfs: Fix assert when disabling migration 2012-07-31 22:01:40 +05:30
virtio-9p.h