Commit cd1f1b31 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix back-shell realloc bug (reverting version to 1.2.11re)

parent e4b2a7b8
OpenLDAP Change Log
Changes included in OpenLDAP 1.2.12 Release Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2_12
<insert changes here>
Changes included in OpenLDAP 1.2.11
CVS Tag: OPENLDAP_REL_ENG_1_2_11
Fixed /tmp races in ud, ldapsearch, ldbmtest and slurpd
......@@ -16,6 +12,7 @@ Changes included in OpenLDAP 1.2.11
Fixed ACL groups member matching
Raise MAXDBCACHE to 128 (ITS#512)
Fixed slapd client_addr crash (ITS#579)
Fixed back-shell realloc bug (ITS#506)
Build Environment
Update res_search detection
Detect and use getpassphrase() and getpass()
......
1.2.12-Engineering
1.2.11-Engineering
......@@ -42,8 +42,10 @@ read_and_send_results(
}
len = strlen( line );
while ( bp + len - buf > bsize ) {
size_t offset = bp - buf;
bsize += BUFSIZ;
buf = (char *) ch_realloc( buf, bsize );
bp = &buf[offset];
}
strcpy( bp, line );
bp += len;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment