[Gluster-devel] [PATCH] fix possible array out of bound

2014-08-12 Thread Ruoyu
fix dangerous usage of volname because strncpy does not always null-terminated. Signed-off-by: Ruoyu lian...@ucweb.com --- xlators/nfs/server/src/nfs-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/nfs/server/src/nfs-common.c

Re: [Gluster-devel] [PATCH] fix possible array out of bound

2014-08-12 Thread Pranith Kumar Karampuri
hi, Welcome to glusterfs :-). Could you please follow the instructions here to send the patch. http://www.gluster.org/community/documentation/index.php/Simplified_dev_workflow Pranith. On 08/12/2014 08:52 AM, Ruoyu wrote: fix dangerous usage of volname because strncpy does not always