mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 05:51:10 +00:00
Fix elf/tst-tls20 stack OOB access
Off-by-one error found on morello with strict stack bounds.
This commit is contained in:
parent
00f9cd1a70
commit
37cfa707b0
@ -342,7 +342,7 @@ do_test_invalid_dependency (bool bind_now)
|
||||
xdlclose (moddep);
|
||||
}
|
||||
|
||||
for (int n = 1; n <= nmods; n++)
|
||||
for (int n = 1; n < nmods; n++)
|
||||
if (mods[n] != 0)
|
||||
unload_mod (n);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user