[Bug 60402] New: CertCloseStore(CERT_CLOSE_STORE_FORCE_FLAG) with a context still referenced hits assert "!context->ref"
http://bugs.winehq.org/show_bug.cgi?id=60402 Bug ID: 60402 Summary: CertCloseStore(CERT_CLOSE_STORE_FORCE_FLAG) with a context still referenced hits assert "!context->ref" Product: Wine Version: 11.18 Hardware: x86-64 URL: https://github.com/JonahSimon/polar-games-wine OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@list.winehq.org Reporter: Jman19922@gmail.com Target Milestone: --- Distribution: --- If an application still holds a context from a store and closes the store with CERT_CLOSE_STORE_FORCE_FLAG, Wine frees the context anyway and aborts: Assertion failed: !context->ref, file ../wine/dlls/crypt32/context.c, line 96 Windows tolerates this. WildTangent DRM 3.2 (DRM0302.dll) does exactly this while holding its signing certificate, right after bug 60401 is fixed, so the license install process is killed. Fix: defer freeing until the last context reference is released (patch to follow in a merge request; covered by the round-trip test from the bug 60401 fix). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60402 --- Comment #1 from Jonah Simon <Jman19922@gmail.com> --- Correction to the description: no merge request is coming from me, so this is open for anyone to fix. The root cause above should be enough to go on. For reference only, not for submission: the workaround and a local fix I tested are at https://github.com/JonahSimon/polar-games-wine -- 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.
participants (1)
-
WineHQ Bugzilla