mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Fix back-shell realloc bug (reverting version to 1.2.11re)
This commit is contained in:
parent
e4b2a7b8c0
commit
cd1f1b31e8
3 changed files with 4 additions and 5 deletions
5
CHANGES
5
CHANGES
|
|
@ -1,9 +1,5 @@
|
|||
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 +1 @@
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue