Issue 8864 - ber_realloc doesn't update ber_rwptr
Summary: ber_realloc doesn't update ber_rwptr
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
: 8653 (view as issue list)
Depends on:
Blocks:
 
Reported: 2018-06-08 12:02 UTC by Ondřej Kuzník
Modified: 2020-08-28 22:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ondřej Kuzník 2018-06-08 12:02:47 UTC
Full_Name: Ondrej Kuznik
Version: master/re24
OS: 
URL: https://github.com/mistotebe/openldap/tree/ITS8864
Submission from: (NULL) (82.10.24.68)


Running a ber_flush that doesn't manage to send everything and then adding data
to the BerElement that ends up with its buffer reallocated will not update
ber_rwptr, causing the following flush to fail. Patch available at the link
above.
Comment 1 Quanah Gibson-Mount 2018-07-09 17:05:20 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2019-06-17 15:28:26 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2019-07-24 19:01:55 UTC
Fixed in master
Fixed in RE24 (2.4.48)
Comment 4 Quanah Gibson-Mount 2019-07-24 19:01:55 UTC
changed notes
changed state Release to Closed
Comment 5 Quanah Gibson-Mount 2020-08-28 22:05:07 UTC
*** Issue 8653 has been marked as a duplicate of this issue. ***