Issue 8831 - Database flags reset in mdb_load
Summary: Database flags reset in mdb_load
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.46
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-02 16:49 UTC by gnoe@symas.com
Modified: 2018-12-19 17:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gnoe@symas.com 2018-04-02 16:49:26 UTC
Full_Name: Gregory Noe
Version: 2.4.46
OS: All
URL: ftp://ftp.openldap.org/incoming/mdb_load-dbflag-patch.c
Submission from: (NULL) (63.142.209.94)


The flags variable set by the readhdr function in mdb_load is getting set to 0
before the mdb database is opened for writing.   The submitted patch fixes the
issue. 


---
Symas Corporation hereby place the following modifications to OpenLDAP Software
(and only these modifications) into the public domain. Hence, these
modifications may be freely used and/or redistributed for any purpose with or
without attribution and/or other notice.
---
Comment 1 Howard Chu 2018-04-02 17:06:26 UTC
gnoe@symas.com wrote:
> Full_Name: Gregory Noe
> Version: 2.4.46
> OS: All
> URL: ftp://ftp.openldap.org/incoming/mdb_load-dbflag-patch.c
> Submission from: (NULL) (63.142.209.94)
> 
> 
> The flags variable set by the readhdr function in mdb_load is getting set to 0
> before the mdb database is opened for writing.   The submitted patch fixes the
> issue.
> 
> 
> ---
> Symas Corporation hereby place the following modifications to OpenLDAP Software
> (and only these modifications) into the public domain. Hence, these
> modifications may be freely used and/or redistributed for any purpose with or
> without attribution and/or other notice.
> ---

Thanks for the report. A slightly different patch was used. Fixed now in 
mdb.master.


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2018-09-07 18:32:05 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 OpenLDAP project 2018-12-19 17:17:26 UTC
fixed in mdb.master
fixed in mdb.re09 (0.9.23)
Comment 4 Quanah Gibson-Mount 2018-12-19 17:17:26 UTC
changed notes
changed state Test to Closed