adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

d620bb6 Ticket 48149 - ns-slapd double free or corruption crash

Authored and Committed by lkrispen 8 years ago
    Ticket 48149 - ns-slapd double free or corruption crash
    
    Bug Description:  if the per file statistics are retrived from
                      the BDB backend, there is a race condition, which
                      corrupts the memory allcated for the statistics.
                      It happens id a new file with a longer backend/filename
                      is openend between the alloaction for the statistics
                      data and the actual populating if it
    
    Fix Description:   The bug is in BDB and there is a fix from Oracle for the
                       latest versions, it is unclear if it will be backported
                       to the versions used in current supported389 platforms.
    
                       A fix in DS code is to lock the open calls from the
                       file statistic call
    
    https://fedorahosted.org/389/ticket/48149
    
    Reviewed by: ?