Revert "Fix elf/tst-tls20 stack OOB access"

This reverts commit 37cfa707b0.
This commit is contained in:
Szabolcs Nagy 2022-10-26 09:25:36 +01:00
parent 7a76b94bab
commit 8a4566d712

View File

@ -342,7 +342,7 @@ do_test_invalid_dependency (bool bind_now)
xdlclose (moddep); xdlclose (moddep);
} }
for (int n = 1; n < nmods; n++) for (int n = 1; n <= nmods; n++)
if (mods[n] != 0) if (mods[n] != 0)
unload_mod (n); unload_mod (n);
} }