qemu-patch-raspberry4/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 hw/9pfs: Add new security model mapped-file. 2012-01-19 12:21:11 +05:30
cofs.c
coxattr.c
Makefile.objs build: move per-target hw/ objects to nested Makefile.objs 2012-06-07 09:21:17 +02:00
virtio-9p-coth.c
virtio-9p-coth.h
virtio-9p-device.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
virtio-9p-handle.c hw/9pfs: Preserve S_ISGID 2012-01-30 10:54:16 +05:30
virtio-9p-local.c hw/9pfs: Preserve S_ISGID 2012-01-30 10:54:16 +05:30
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: Fix typo causing compile failure on 32 bit hosts 2012-01-06 12:50:44 -06:00
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