[Pvfs2-cvs] commit by nlmills in pvfs2/src/common/security: pint-security.c

CVS commit program cvs at parl.clemson.edu
Fri Dec 5 15:07:24 EST 2008


Update of /anoncvs/pvfs2/src/common/security
In directory parlweb1:/tmp/cvs-serv19323/src/common/security

Modified Files:
      Tag: cu-security-branch
	pint-security.c 
Log Message:
fixed bugs caused by memory being freed too soon


Index: pint-security.c
===================================================================
RCS file: /anoncvs/pvfs2/src/common/security/Attic/pint-security.c,v
diff -p -u -r1.1.2.54 -r1.1.2.55
--- pint-security.c	5 Dec 2008 17:11:22 -0000	1.1.2.54
+++ pint-security.c	5 Dec 2008 20:07:24 -0000	1.1.2.55
@@ -842,7 +842,7 @@ int PINT_sign_credential(PVFS_credential
     
     conf = PINT_get_server_config();
     
-    cred->issuer_id = conf->server_alias;
+    cred->issuer_id = strdup(conf->server_alias);
     
     /* TODO: separate credential timeout */
     cred->timeout = PINT_util_get_current_time() + conf->security_timeout;



More information about the Pvfs2-cvs mailing list