http://bugs.winehq.org/show_bug.cgi?id=43114 --- Comment #7 from Dmitry Timoshkov <dmitry@baikal.ru> --- (In reply to Dmitry Timoshkov from comment #6)
The installer does something like this:
HCERTSTORE store; const CERT_CONTEXT *cert, *prev = NULL store = CertOpenStore(); do ((cert = CertFindCertificateInStore(store, prev))) { if (prev) CertFreeCertificateContext(prev); prev = cert; } while (cert);
Looks like my initial analysis is incomplete. What fails is CryptQueryObject(CERT_QUERY_OBJECT_FILE, "...\\plugins\\action.micl", CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED, &store); do ((cert = CertFindCertificateInStore(store, prev))) { if (prev) CertFreeCertificateContext(prev); prev = cert; } while (cert); CertCloseStore(hstore); // <= assert() This is what https://gitlab.winehq.org/wine/wine/-/merge_requests/10439 is supposed to fix. It seems that this behaviour is specific to PKCS7 store. -- 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.