|
From: | Chen Gang |
Subject: | [Qemu-devel] [PATCH 0/3] hw/9pfs: fix 3 issues which related with path string |
Date: | Sun, 02 Mar 2014 01:33:00 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
Patch 1/3: move v9fs_string_free() to below "err_out:" Patch 2/3: use snprintf() instead of sprintf() (which will be replaced of by Path 3/3) Patch 3/3: use g_strdup_printf() instead of PATH_MAX limitation Signed-off-by: Chen Gang <address@hidden> --- hw/9pfs/cofs.c | 15 ++- hw/9pfs/virtio-9p-handle.c | 9 +- hw/9pfs/virtio-9p-local.c | 286 +++++++++++++++++++++++++++-------------- hw/9pfs/virtio-9p-posix-acl.c | 52 ++++++-- hw/9pfs/virtio-9p-xattr-user.c | 27 +++- hw/9pfs/virtio-9p-xattr.c | 9 +- hw/9pfs/virtio-9p-xattr.h | 27 +++- hw/9pfs/virtio-9p.h | 6 +- 8 files changed, 293 insertions(+), 138 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |