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
..
2011-12-06 09:56:41 +00:00
2011-09-22 21:38:52 +05:30
2012-01-30 10:54:16 +05:30
2012-01-30 10:54:16 +05:30
2012-01-04 20:20:55 +05:30