xemu/hw/9pfs
Chen Gang fae0864573 hw/9pfs/virtio-9p-local.c: use snprintf() instead of sprintf()
'ctx->fs_root' + 'path'/'fullname.data' may be larger than PATH_MAX, so
need use snprintf() instead of sprintf() just like another area have done
in 9pfs. This could possibly result in the truncation of pathname, which we
address in the follow up patch.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
2014-03-03 21:56:31 +05:30
..
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
codir.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofile.c hw/9pfs: fix P9_STATS_GEN handling 2014-02-02 22:09:16 +05:30
cofs.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coxattr.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-coth.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-coth.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-device.c virtio-9p: Convert to QOM realize 2013-12-09 21:46:49 +01:00
virtio-9p-handle.c hw/9pfs: make get_st_gen() return ENOTTY error on special files 2014-02-02 22:09:04 +05:30
virtio-9p-local.c hw/9pfs/virtio-9p-local.c: use snprintf() instead of sprintf() 2014-03-03 21:56:31 +05:30
virtio-9p-posix-acl.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-9p-proxy.c hw/9pfs: make get_st_gen() return ENOTTY error on special files 2014-02-02 22:09:04 +05:30
virtio-9p-proxy.h hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-9p-synth.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
virtio-9p-xattr-user.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-9p-xattr.c hw/9pfs: Fix errno value for xattr functions 2013-10-05 13:05:28 +04:00
virtio-9p-xattr.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p.c hw/9pfs: fix P9_STATS_GEN handling 2014-02-02 22:09:16 +05:30
virtio-9p.h virtio-9p: cleanup: QOM casts. 2013-04-23 10:37:49 -05:00