CVS Tag: OPENLDAP_REL_ENG_1_2
Fixed slapd substring_comp_candidates null intersection bug (ITS#228)
Fixed slapd modify: delete of last attribute value bug (ITS#229)
+ Import password security fix from -devel (ITS#232)
Build environment
Updated to latest Autoconf (AnonCVS)
Updated to latest aclocal from Automake (AnonCVS)
lutil_SHA1Final(SHA1digest, &SHA1context);
/* compare */
- rc = strncmp((char *)orig_pass, (char *)SHA1digest, sizeof(SHA1digest));
+ rc = memcmp((char *)orig_pass, (char *)SHA1digest, sizeof(SHA1digest));
free(orig_pass);
return(rc);
lutil_MD5Final(MD5digest, &MD5context);
/* compare */
- rc = strncmp((char *)orig_pass, (char *)MD5digest, sizeof(MD5digest));
+ rc = memcmp((char *)orig_pass, (char *)MD5digest, sizeof(MD5digest));
free(orig_pass);
return ( rc );