Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 177780 | Differences between
and this patch

Collapse All | Expand All

(-)up-imapproxy-1.2.6-dist/src/request.c (-2 / +2 lines)
Lines 714-720 Link Here
714
     * avoid allocating additional buffers.  Keep this in mind for future
714
     * avoid allocating additional buffers.  Keep this in mind for future
715
     * code modification...
715
     * code modification...
716
     */
716
     */
717
    snprintf( Username, BufLen, "Username:" );
717
    snprintf( Username, MAXUSERNAMELEN - 1, "Username:" );
718
    
718
    
719
    EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) );
719
    EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) );
720
    
720
    
Lines 770-776 Link Here
770
    /*
770
    /*
771
     * Same drill all over again, except this time it's for the password.
771
     * Same drill all over again, except this time it's for the password.
772
     */
772
     */
773
    snprintf( Password, BufLen, "Password:" );
773
    snprintf( Password, MAXPASSWDLEN - 1, "Password:" );
774
    
774
    
775
    EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) );
775
    EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) );
776
    
776
    

Return to bug 177780