48876bb UTIL: Sanitize newline and carriage return characters.

1 file Authored by vtapia 7 years ago, Committed by lslebodn 7 years ago,
    UTIL: Sanitize newline and carriage return characters.
    
    Introducing valid usernames with a trailing newline character triggers
    the removal of valid LDB cache entries.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3317
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    (cherry picked from commit ee2906c1d50ab8001863b0a423fe957d4e0bcb37)
    (cherry picked from commit 59868a81d99b400b9ec6aa972ed5f7de4b462ccf)
    
        
file modified
+10 -0