[Bug 44405] Rise Of Nations Extended edition, Steam version crashes with page fault when trying to list mods

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 2 13:47:31 CDT 2018


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

--- Comment #15 from Richard Yao <ryao at gentoo.org> ---
(In reply to Nikolay Sivov from comment #13)
> The issue is probably in CryptBinaryToStringW export itself, that does not
> check for NULL output buffer. This needs tests.

This is incorrect. CryptBinaryToStringW is not being called. BinaryToBase64W
is. However, BinaryToBase64W is marked static, so the unwinding code mistakenly
identifies the function in the call frame as CryptBinaryToStringW. What is
happening is that BinaryToBase64W is calling encodeBase64W to do a length
calculation with a NULL pointer. It should return, but it instead tries to
write out to the NULL pointer, causing the segmentation fault.

-- 
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