[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3992) Back-bdb may use NULL bi_dbenv during init in abnormal conditions



Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.72.89.40)
Submitted by: ando


When opening a database in inconsistent state (resulting from file system full
during slapadd), back-bdb may use bi_dbenv __after__ setting it to NULL;

back-bdb/init.c:305 bi_dbenv is set to NULL
back-bdb/init.c:315 bi_dbenv is used

the conditions under which the two portions of code are executed are not
mutually exclusive.

p.