[Bug 39264] wininet/winhttp may try to decrypt one more ssl message than needed

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 12 10:46:53 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39264

Jacek Caban <jacek at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jacek at codeweavers.com
         Resolution|---                         |INVALID

--- Comment #6 from Jacek Caban <jacek at codeweavers.com> ---
> This means after reading a maximum of
> (conn->ssl_sizes.cbHeader+conn->ssl_sizes.cbMaximumMessage+conn->ssl_sizes.
> cbTrailer) bytes, the implementation should be able to tell if its a correct
> message (SEC_E_OK) or if an error occurred, but definitely shouldn't return
> SEC_E_INCOMPLETE_MESSAGE anymore.

Agreed, it's even documented by the assert. DecryptMessage should definitely be
able to decrypt buffered data in this case. I'd suggest to take another look
and try to fix it in ReactOS schannel.dll implementation.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list