qemu/hw/9pfs
Jim Meyering a79b5f8b80 hw/9pfs: avoid buffer overrun
v9fs_add_dir_node and qemu_v9fs_synth_add_file used strncpy
to form node->name, which requires NUL-termination, but
strncpy does not ensure NUL-termination.
Use pstrcpy, which does.

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 fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
cofile.c hw/9pfs: Add new security model mapped-file. 2012-01-19 12:21:11 +05:30
cofs.c hw/9pfs: Use export_flag for indicating whether fs driver use path names. 2011-10-15 15:30:27 +05:30
coxattr.c hw/9pfs: Implement TFLUSH operation 2011-09-22 21:38:52 +05:30
Makefile.objs build: move per-target hw/ objects to nested Makefile.objs 2012-06-07 09:21:17 +02:00
virtio-9p-coth.c Don't use g_thread_get_initialized. 2011-09-09 12:58:16 -05:00
virtio-9p-coth.h fix spelling in hw sub directory 2011-12-06 09:56:41 +00:00
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 configure: fix detection for xattr.h on modern distributions 2011-11-09 12:06:20 -06: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 hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c hw/9pfs: avoid buffer overrun 2012-10-05 07:58:37 -05:00
virtio-9p-synth.h hw/9pfs: Add synthetic file system support using 9p 2011-10-31 12:34:18 +05:30
virtio-9p-xattr-user.c [virtio-9p] Make rpath thread safe 2011-06-01 10:25:17 -07:00
virtio-9p-xattr.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
virtio-9p-xattr.h configure: fix detection for xattr.h on modern distributions 2011-11-09 12:06:20 -06:00
virtio-9p.c hw/9pfs: Fix assert when disabling migration 2012-07-31 22:01:40 +05:30
virtio-9p.h hw/9pfs: Move pdu_marshal/unmarshal code to a seperate file 2012-01-04 19:51:28 +05:30