a9085ef Bug 387981 - plain files can be chosen on the Restore Directory dialog

Authored and Committed by Noriko Hosoi 13 years ago
    Bug 387981 - plain files can be chosen on the Restore Directory dialog
    
    https://bugzilla.redhat.com/show_bug.cgi?id=387981
    
    Description: dsalib_ldif_parse_line: OpenLDAP ldif_read_record
    takes buffer with its length and resizes it if it internally
    requires more memory.  The function dsalib_ldif_parse_line did
    not properly initialize the address and the size which caused
    the memory problem and crashed some CGIs such as ds_listdb.
    This patch initializes the address and size to 0.
    
        
file modified
+4 -2