1cab8aa sudo: memset tm when converting time attributes

1 file Authored by pbrezina 10 years ago, Committed by jhrozek 10 years ago,
    sudo: memset tm when converting time attributes
    
    strptime() which is used to parse LDAP time value does not initialize
    all fields of tm structure (especially tm_isdst). This results in
    random behavior - when the tm is converted into timestamp via mktime(),
    the result depends on current value of tm_isdst.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/2213
    
        
file modified
+2 -0