April 10, 2026
7:46 a.m.
On Fri Apr 10 07:52:57 2026 +0000, Hans Leidekker wrote:
Can you provide more detail? This translation of your example crashes on Windows: ``` static void test_crash(void) { PCCERT_CONTEXT cert, prev = NULL; HCERTSTORE store = CertOpenSystemStoreW( 0, L"My" ); while ((cert = CertEnumCertificatesInStore( store, prev ))) { trace( "%p\n", cert ); CertFreeCertificateContext( cert ); prev = cert; } CertCloseStore( store, 0 ); } ``` [enum_store.tar.7z](/uploads/0f768f14d34423da91fe100f038f4572/enum_store.tar.7z) Attached test should replicate the assert().
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10439#note_135813