[Fedora-directory-commits] mod_nss nss_engine_pphrase.c,1.9,1.10
Robert Crittenden (rcritten)
fedora-directory-commits at redhat.com
Thu Feb 22 16:50:16 UTC 2007
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts template-bak2db, 1.2, NONE template-bak2db.pl, 1.8, NONE template-cl-dump.pl, 1.10, NONE template-db2bak, 1.2, NONE template-db2bak.pl, 1.7, NONE template-db2index, 1.2, NONE template-db2index.pl, 1.8, NONE template-db2ldif, 1.2, NONE template-db2ldif.pl, 1.7, NONE template-ldif2db, 1.2, NONE template-ldif2db.pl, 1.7, NONE template-ldif2ldap, 1.1, NONE template-monitor, 1.1, NONE template-ns-accountstatus.pl, 1.7, NONE template-ns-activate.pl, 1.7, NONE template-ns-inactivate.pl, 1.7, NONE template-ns-newpwpolicy.pl, 1.8, NONE template-repl-monitor-cgi.pl, 1.8, NONE template-repl-monitor.pl, 1.8, NONE template-restoreconfig, 1.2, NONE template-saveconfig, 1.2, NONE template-start-slapd, 1.3, NONE template-stop-slapd, 1.3, NONE template-suffix2instance, 1.2, NONE template-verify-db.pl, 1.8, NONE template-vlvindex, 1.2, NONE
- Next message (by thread): [Fedora-directory-commits] ldapserver Makefile.am, 1.28, 1.29 Makefile.in, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rcritten
Update of /cvs/dirsec/mod_nss
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16875
Modified Files:
nss_engine_pphrase.c
Log Message:
229660
Log a warning on a malformed password file entry instead of dropping core.
Index: nss_engine_pphrase.c
===================================================================
RCS file: /cvs/dirsec/mod_nss/nss_engine_pphrase.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- nss_engine_pphrase.c 10 Jan 2007 20:56:00 -0000 1.9
+++ nss_engine_pphrase.c 22 Feb 2007 16:50:14 -0000 1.10
@@ -240,6 +240,11 @@
tmp--;
line[tmp+1] = '\0';
ptr = PL_strchr(line, ':');
+ if (ptr == NULL) {
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
+ "Malformed password entry for token %s. Format should be token:password", token_name);
+ continue;
+ }
for(tmp=1; ptr[tmp] == ' '; tmp++) {}
pwdstr = strdup(&(ptr[tmp]));
}
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts template-bak2db, 1.2, NONE template-bak2db.pl, 1.8, NONE template-cl-dump.pl, 1.10, NONE template-db2bak, 1.2, NONE template-db2bak.pl, 1.7, NONE template-db2index, 1.2, NONE template-db2index.pl, 1.8, NONE template-db2ldif, 1.2, NONE template-db2ldif.pl, 1.7, NONE template-ldif2db, 1.2, NONE template-ldif2db.pl, 1.7, NONE template-ldif2ldap, 1.1, NONE template-monitor, 1.1, NONE template-ns-accountstatus.pl, 1.7, NONE template-ns-activate.pl, 1.7, NONE template-ns-inactivate.pl, 1.7, NONE template-ns-newpwpolicy.pl, 1.8, NONE template-repl-monitor-cgi.pl, 1.8, NONE template-repl-monitor.pl, 1.8, NONE template-restoreconfig, 1.2, NONE template-saveconfig, 1.2, NONE template-start-slapd, 1.3, NONE template-stop-slapd, 1.3, NONE template-suffix2instance, 1.2, NONE template-verify-db.pl, 1.8, NONE template-vlvindex, 1.2, NONE
- Next message (by thread): [Fedora-directory-commits] ldapserver Makefile.am, 1.28, 1.29 Makefile.in, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list