8f540a6 Ticket #47939 - Malformed cookie for LDAP Sync makes DS crash

Authored and Committed by nhosoi 7 years ago
    Ticket #47939 - Malformed cookie for LDAP Sync makes DS crash
    
    Bug Description: If a cookie sent from clients did not have the
    expected form: server_signature#client_signature#change_info_number,
    a NULL reference triggered a server crash in sync_cookie_isvalid.
    
    Fix Description: If a cookie does not have the expected form,
    sync_cookie_parse returns NULL, which prevents the NULL reference
    in the server_signature and client_signature.
    
    https://fedorahosted.org/389/ticket/47939
    
    Reviewed by lkrispen@redhat.com (Thank you, Ludwig!!)