Commit 3957f937 authored by Lorenzo Ferrillo's avatar Lorenzo Ferrillo Committed by Alexandre Julliard

secur32: Increment iteration index after load_package error.

Otherwise if a package fail to load the routine is stuck in a continuous loop trying to load the package, resulting in a loader deadlock. Restore the behaviour before commit 021547ca. Signed-off-by: 's avatarLorenzo Ferrillo <lorenzofersteam@live.it>
parent afb8d94e
...@@ -967,10 +967,9 @@ void load_auth_packages(void) ...@@ -967,10 +967,9 @@ void load_auth_packages(void)
if (err != ERROR_SUCCESS) if (err != ERROR_SUCCESS)
continue; continue;
if (!load_package(name, &package, i + 1)) if (load_package(name, &package, i + 1))
continue;
add_package(&package); add_package(&package);
i++; i++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment