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

1 file Authored by lkrispen 8 years ago, Committed by nhosoi 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: ?
    
    (cherry picked from commit d620bb644a9b71ca9259edba42d62058e628cc0a)