Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8637
Modified Files: Tag: Directory71RtmBranch ava.c Log Message: Resolves: #247725 Summary: rhds71 Invalid LDIF Syntax crashes directory server Note: applying the fixes in HEAD to Directory71RtmBranch
Index: ava.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/ava.c,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -u -r1.4.2.1 -r1.4.2.2 --- ava.c 2 Mar 2006 01:12:25 -0000 1.4.2.1 +++ ava.c 21 Dec 2007 17:38:48 -0000 1.4.2.2 @@ -108,7 +108,7 @@ strcpy_special_undo( char *d, const char *s ) { const char *end = s + strlen(s); - for ( ; *s; s++ ) + for ( ; s < end && *s; s++ ) { switch ( *s ) {
389-commits@lists.fedoraproject.org