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

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



ando@sys-net.it wrote:
> 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.
>   
Fixed in HEAD

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