15ff2e3 Ticket 49669 - Invalid cachemem size can crash the server during a restore

Authored and Committed by mreynolds 5 months ago
    Ticket 49669 - Invalid cachemem size can crash the server during a restore
    
    Bug Description:  If you manually set the dbcachememsize to something larger than
                      a uint64_t the server can crash from a NULL pointer being
                      dereferenced.
    
    Fix Description:  Catch the NULL pointer before it is dereferenced, and abort the
                      restore.
    
    https://pagure.io/389-ds-base/issue/49669
    
    Reviewed by: firstyear & tbordaz (Thanks!!)
    
        
file modified
+13 -3