268070e Ticket 48388 - db2ldif -r segfaults from time to time

5 files Authored by mreynolds 8 years ago, Committed by nhosoi 8 years ago,
    Ticket 48388 - db2ldif -r segfaults from time to time
    
    Bug Description:  db2ldif starts all the plugins before generating
                      the ldif file.  If the retro changelog is enabled
                      and it starts to trim itself the server can crash
                      when cos tries to process the retrocl triming
                      operations.
    
    Fix Description:  First, fix the NULL dereferences in COS.  Then
                      when doing a "db2ldif -r" only startup the
                      plugins that "db2ldif -r" needs (which is just
                      the replication plugin and its dependencies).
    
                      Revised the plugin_startall() function to remove
                      unused parameters (start_backends & global_plugins)
    
                      Also did a little code clean up slapi_utf8casecmp.
    
    https://fedorahosted.org/389/ticket/48388
    
    Valgrind: passed
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit c7c3d5963243574f8f8cf5f292fba27486a40d4a)
    
        
file modified
+19 -8
file modified
+76 -9