bb3ac59 Issue 50829 - Disk monitoring rotated log cleanup causes heap-use-after-free

Authored and Committed by mreynolds 4 years ago
    Issue 50829 - Disk monitoring rotated log cleanup causes heap-use-after-free
    
    Description:  When Disk Monitoring finds that disk space is too low it starts
                  freeing up disk space by removing rotated logs.  However the log
                  list struct was not properly reset after freeing all the files
                  in the list.  This is what allowed the heap-use-after-free to
                  occur.
    
    relates: https://pagure.io/389-ds-base/issue/50829
    
    Reviewed by: firstyear(Thanks!)
    
        
file modified
+6 -0