Re: [Qemu-devel] [PATCH 0/3] hw/9pfs: fix 3 issues which related with path string

2014-03-03 Thread Chen Gang
On 03/04/2014 01:43 AM, Eric Blake wrote: > On 03/01/2014 10:33 AM, Chen Gang wrote: >> 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

Re: [Qemu-devel] [PATCH 0/3] hw/9pfs: fix 3 issues which related with path string

2014-03-03 Thread Eric Blake
On 03/01/2014 10:33 AM, Chen Gang wrote: > 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 By sending this series as

[Qemu-devel] [PATCH 0/3] hw/9pfs: fix 3 issues which related with path string

2014-03-01 Thread Chen Gang
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 --- hw/9pfs/cofs.c | 15 ++- hw/9p