[Fedora-directory-commits] ldapserver/ldap/servers/slapd/tools pwenc.c, 1.10, 1.11
Noriko Hosoi
nhosoi at fedoraproject.org
Wed Oct 15 06:30:14 UTC 2008
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm ancestorid.c, 1.5, 1.6 cache.c, 1.5, 1.6 dblayer.c, 1.29, 1.30 dbtest.c, 1.5, 1.6 id2entry.c, 1.6, 1.7 idl.c, 1.6, 1.7 import-merge.c, 1.9, 1.10 import-threads.c, 1.16, 1.17 import.c, 1.12, 1.13 index.c, 1.16, 1.17 instance.c, 1.7, 1.8 ldif2ldbm.c, 1.18, 1.19 monitor.c, 1.8, 1.9 nextid.c, 1.5, 1.6 perfctrs.c, 1.11, 1.12 seq.c, 1.5, 1.6 sort.c, 1.11, 1.12 vlv.c, 1.15, 1.16 vlv_srch.c, 1.8, 1.9
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/schema 60autofs.ldif, NONE, 1.1 60changelog.ldif, NONE, 1.1 60eduperson.ldif, NONE, 1.1 60inetmail.ldif, NONE, 1.1 60kerberos.ldif, NONE, 1.1 60krb5kdc.ldif, NONE, 1.1 60mozilla.ldif, NONE, 1.1 60nis.ldif, NONE, 1.1 60pureftpd.ldif, NONE, 1.1 60qmail.ldif, NONE, 1.1 60radius.ldif, NONE, 1.1 60rfc2739.ldif, NONE, 1.1 60rfc3712.ldif, NONE, 1.1 60rfc4876.ldif, NONE, 1.1 60sabayon.ldif, NONE, 1.1 60samba.ldif, NONE, 1.1 60samba3.ldif, NONE, 1.1 60sudo.ldif, NONE, 1.1 60trust.ldif, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/tools
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25637/ldap/servers/slapd/tools
Modified Files:
pwenc.c
Log Message:
Resolves: #466702
Summary: Memory usage research: checking in the experimental code
See also: http://directory.fedoraproject.org/wiki/Memory_Usage_Research
Index: pwenc.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/tools/pwenc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- pwenc.c 8 Oct 2008 17:29:04 -0000 1.10
+++ pwenc.c 15 Oct 2008 06:30:11 -0000 1.11
@@ -105,7 +105,7 @@
if ( NULL == orig ) {
return NULL;
}
- r = calloc( 1, strlen( orig ) + 2 );
+ r = slapi_ch_calloc( 1, strlen( orig ) + 2 );
strcpy( r, orig );
if ( heflag ) {
@@ -282,7 +282,7 @@
}
puts( enc );
- free( enc );
+ slapi_ch_free_string( &enc );
} else { /* compare passwords */
if (( rc = (*(cmppwsp->pws_cmp))( decode( argv[ optind ]), cmp )) == 0 ) {
printf( "%s: password ok.\n", name );
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm ancestorid.c, 1.5, 1.6 cache.c, 1.5, 1.6 dblayer.c, 1.29, 1.30 dbtest.c, 1.5, 1.6 id2entry.c, 1.6, 1.7 idl.c, 1.6, 1.7 import-merge.c, 1.9, 1.10 import-threads.c, 1.16, 1.17 import.c, 1.12, 1.13 index.c, 1.16, 1.17 instance.c, 1.7, 1.8 ldif2ldbm.c, 1.18, 1.19 monitor.c, 1.8, 1.9 nextid.c, 1.5, 1.6 perfctrs.c, 1.11, 1.12 seq.c, 1.5, 1.6 sort.c, 1.11, 1.12 vlv.c, 1.15, 1.16 vlv_srch.c, 1.8, 1.9
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/schema 60autofs.ldif, NONE, 1.1 60changelog.ldif, NONE, 1.1 60eduperson.ldif, NONE, 1.1 60inetmail.ldif, NONE, 1.1 60kerberos.ldif, NONE, 1.1 60krb5kdc.ldif, NONE, 1.1 60mozilla.ldif, NONE, 1.1 60nis.ldif, NONE, 1.1 60pureftpd.ldif, NONE, 1.1 60qmail.ldif, NONE, 1.1 60radius.ldif, NONE, 1.1 60rfc2739.ldif, NONE, 1.1 60rfc3712.ldif, NONE, 1.1 60rfc4876.ldif, NONE, 1.1 60sabayon.ldif, NONE, 1.1 60samba.ldif, NONE, 1.1 60samba3.ldif, NONE, 1.1 60sudo.ldif, NONE, 1.1 60trust.ldif, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list