mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:53:45 +00:00
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 021547cabc
.
Signed-off-by: Lorenzo Ferrillo <lorenzofersteam@live.it>
This commit is contained in:
parent
afb8d94e2f
commit
3957f937fc
|
@ -967,10 +967,9 @@ void load_auth_packages(void)
|
|||
if (err != ERROR_SUCCESS)
|
||||
continue;
|
||||
|
||||
if (!load_package(name, &package, i + 1))
|
||||
continue;
|
||||
if (load_package(name, &package, i + 1))
|
||||
add_package(&package);
|
||||
|
||||
add_package(&package);
|
||||
i++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue