cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

00e77c9 Ticket 527 - ns-slapd segfaults if it cannot rename the logs

1 file Authored by mreynolds 11 years ago, Committed by nhosoi 11 years ago,
    Ticket 527 - ns-slapd segfaults if it cannot rename the logs
    
    Bug Description:  If we can not rename a log file, triggered by log rotation,
                      we try and log a message stating this error, but trying to
                      log this new message triggers log rotation again.  This leads
                      to an infinite loop and a stack overflow.
    
    Fix Description:  Created a new logging function that does not do a rotation check.
                      We use this new function for all emergency error logging.
    
    https://fedorahosted.org/389/ticket/527
    
    Reviewed by: richm(Thanks!)
    (cherry picked from commit 4e9aab8a172c8636ea78a9d1230c78c76268efd7)
    (cherry picked from commit 85261ef0161df156ea3991a77046aabda6c34cf4)
    
        
file modified
+53 -10