From: llde <lorenzofersteam(a)live.it> Otherwise if a package fail to load the routine is stuck in a continuos loop trying to load the package, resulting in a loader deadlock Restore the behaviour before commit 021547cabcb811c38060a2f7e675c25d26f16d3d Signed-Off-By: Lorenzo Ferrillo <lorenzofersteam(a)live.it> --- dlls/secur32/lsa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/secur32/lsa.c b/dlls/secur32/lsa.c index a9ca8b60283..0f9b8dceb39 100644 --- a/dlls/secur32/lsa.c +++ b/dlls/secur32/lsa.c @@ -967,11 +967,10 @@ void load_auth_packages(void) if (err != ERROR_SUCCESS) continue; - if (!load_package(name, &package, i + 1)) + if (!load_package(name, &package, ++i)) continue; add_package(&package); - i++; } RegCloseKey(root); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3660