https://bugs.winehq.org/show_bug.cgi?id=44583
Bug ID: 44583 Summary: CryptBinaryToStringW returns the wrong size. Product: Wine Version: 3.2 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
When calling CryptBinaryToStringW, the out parameter appears to be out by 2.
Testcase https://source.winehq.org/patches/data/142185
https://bugs.winehq.org/show_bug.cgi?id=44583
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=44583
Richard Yao ryao@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ryao@gentoo.org
--- Comment #1 from Richard Yao ryao@gentoo.org --- When you say “out by 2”, what value does it give?
https://bugs.winehq.org/show_bug.cgi?id=44583
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Richard Yao from comment #1)
When you say “out by 2”, what value does it give?
It returns 2 more than what I get on windows. In the linked tests, it would be 22905 on wine.
https://bugs.winehq.org/show_bug.cgi?id=44583
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I think I see what's going on.
https://bugs.winehq.org/show_bug.cgi?id=44583
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|CryptBinaryToStringW |CryptBinaryToStringW |returns the wrong size. |returns wrong required | |buffer size.
https://bugs.winehq.org/show_bug.cgi?id=44583
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |09a785cb4da13d0d2985b4d25f1 | |6865cf4d18d4b Status|NEW |RESOLVED Assignee|bunglehead@gmail.com |wine-bugs@winehq.org Resolution|--- |FIXED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- This should be fixed with 09a785cb4da13d0d2985b4d25f16865cf4d18d4b. Please test.
https://bugs.winehq.org/show_bug.cgi?id=44583
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.17.