1cb4e7d Issue 50426 - nsSSL3Ciphers is limited to 1024 characters

Authored and Committed by mreynolds a year ago
    Issue 50426 - nsSSL3Ciphers is limited to 1024 characters
    
    Bug Description:  There was a hardcoded buffer for processing TLS ciphers.
                      Anything over 1024 characters was truncated and was not
                      applied.
    
    Fix Description:  Don't use a fixed size buffer and just use the entire
                      string.  When printing errors about invalid format then
                      we must use a fixed sized buffer, but we will truncate
                      that log value as to not exceed the ssl logging function's
                      buffer, and still output a useful message.
    
    ASAN approved
    
    https://pagure.io/389-ds-base/issue/50426
    
    Reviewed by: firstyear, tbordaz, and spichugi (Thanks!!!)
    
    (cherry picked from commit 22f2f9a1502e63bb169b7d599b5a3b35ddb31b8a)
    
        
file modified
+15 -19