[PVFS2-CVS]
commit by neill in pvfs2/test/correctness/pts: pvfs-helper.c
CVS commit program
cvs at parl.clemson.edu
Fri May 21 15:52:08 EDT 2004
Update of /projects/cvsroot/pvfs2/test/correctness/pts
In directory parlweb:/tmp/cvs-serv16386/test/correctness/pts
Modified Files:
pvfs-helper.c
Log Message:
- for non-blocking the passed in sys_attr structures need to be copied
to avoid stack corruption/bunk values (similar to credential problem;
there are probably more instances just like this, and they'll be fixed
as they come)
Index: pvfs-helper.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/correctness/pts/pvfs-helper.c,v
diff -p -u -r1.34 -r1.35
--- pvfs-helper.c 20 May 2004 17:27:54 -0000 1.34
+++ pvfs-helper.c 21 May 2004 18:52:08 -0000 1.35
@@ -81,6 +81,7 @@ int create_dir(PVFS_object_ref parent_re
PVFS_credentials credentials;
PVFS_sysresp_mkdir resp_mkdir;
+ memset(&attr, 0, sizeof(PVFS_sys_attr));
memset(&resp_mkdir, 0, sizeof(resp_mkdir));
PVFS_util_gen_credentials(&credentials);
More information about the PVFS2-CVS
mailing list