[Pvfs2-cvs] commit by nlmills in pvfs2/src/server: get-cred.sm

CVS commit program cvs at parl.clemson.edu
Fri Dec 5 17:05:02 EST 2008


Update of /anoncvs/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv21598/src/server

Modified Files:
      Tag: cu-security-branch
	get-cred.sm 
Log Message:
more memory management bug fixes (thanks, valgrind!)


Index: get-cred.sm
===================================================================
RCS file: /anoncvs/pvfs2/src/server/Attic/get-cred.sm,v
diff -p -u -r1.1.2.7 -r1.1.2.8
--- get-cred.sm	5 Dec 2008 17:11:23 -0000	1.1.2.7
+++ get-cred.sm	5 Dec 2008 22:05:02 -0000	1.1.2.8
@@ -177,12 +177,9 @@ static PINT_sm_action get_cred_setup_res
                                               job_status_s *js_p)
 {
     struct PINT_server_op *s_op = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
-    int ret;
 
-    ret = PINT_copy_credential(&s_op->u.getcred.credential,
-                               &s_op->resp.u.getcred.credential);
+    s_op->resp.u.getcred.credential = s_op->u.getcred.credential;
 
-    js_p->error_code = ret;
     return SM_ACTION_COMPLETE;
 }
 



More information about the Pvfs2-cvs mailing list