cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

738d985 Ticket 47937 - Crash in entry_add_present_values_wsi_multi_valued

Authored and Committed by mreynolds 9 years ago
    Ticket 47937 - Crash in entry_add_present_values_wsi_multi_valued
    
    Bug Description:  If the DNA plugin uses an invlid attribute for "dnaType"
                      this can lead to crash when DNA attempts to update this
                      attribute.
    
    Fix Description:  In the DNA plugin, verify that the attribute exists.
                      Also in entrywsi.c, pass in the type from the attribute
                      struct(which does do some basic normalization).
    
    https://fedorahosted.org/389/ticket/47937
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit 3cdf0eb571d120573f2cda2c140fd2b4215c94fa)