adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

874f40e Ticket 47427 - Overflow in nsslapd-disk-monitoring-threshold

Authored and Committed by rmeggins 10 years ago
    Ticket 47427 - Overflow in nsslapd-disk-monitoring-threshold
    
    Bug Description:  If you directory try and set the threshold to -2,
                      the server allows it, but it should be rejected.
    
    Fix Description:  With PR_snprintf and other NSPR formatting functions,
                      %lld must be used with LONG_MAX, instead of %ld which
                      must be used with regular printf.
    
    https://fedorahosted.org/389/ticket/47427
    
    Reviewed by: mreynolds (Thanks!)
    (cherry picked from commit 5df006bd765163279f14cfbb0a136c15c69bed5b)
    (cherry picked from commit 0b5fede023836b8b41a31c0106775767f306d21d)
    (cherry picked from commit b8c921f201929ec15974f2ccbe36af5caf74c74c)
    
        
file modified
+11 -11