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
..
2012-10-05 07:58:37 -05:00
2012-08-13 16:13:02 +01:00
2012-08-13 16:10:18 -03:00
2012-08-22 10:47:17 -05:00
2012-09-05 15:48:57 -03:00
2012-07-28 09:23:11 +00:00
2012-08-22 10:47:17 -05:00
2012-08-28 14:49:59 +02:00
2012-08-01 12:56:15 +01:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-08-01 12:56:15 +01:00
2012-08-21 15:18:24 -05:00
2012-08-01 12:56:15 +01:00
2012-09-23 07:11:28 +01:00
2012-09-25 18:38:18 -05:00
2012-09-07 17:35:34 +02:00
2012-09-23 07:11:28 +01:00
2012-09-10 13:52:28 -05:00
2012-08-01 12:56:15 +01:00
2012-08-28 12:48:39 +02:00
2012-08-03 10:04:37 +02:00
2012-08-01 12:56:15 +01:00
2012-08-01 12:56:15 +01:00
2012-09-08 10:17:57 +00:00
2012-08-01 13:32:10 +01:00
2012-08-15 19:43:17 +02:00
2012-07-27 21:13:01 +00:00
2012-08-01 12:56:15 +01:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-08-09 18:21:47 +00:00
2012-07-29 17:05:35 +03:00
2012-08-22 10:47:17 -05:00
2012-09-06 17:04:33 +02:00
2012-09-26 16:46:28 +01:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-09-28 19:40:56 +02:00
2012-08-13 11:04:07 +01:00
2012-08-13 11:04:07 +01:00
2012-08-22 10:47:17 -05:00
2012-08-22 10:47:17 -05:00
2012-09-11 07:43:01 +02:00
2012-09-05 15:48:57 -03:00
2012-09-28 12:16:27 +02:00
2012-09-09 17:03:09 +03:00
2012-10-03 13:48:45 +00:00