adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

85261ef Ticket 527 - ns-slapd segfaults if it cannot rename the logs

Authored and Committed by mreynolds 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)
    
        
file modified
+53 -10