diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-26 09:25:36 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-26 15:39:59 +0100 |
commit | 8a4566d712a70a7e3f33cfdb0590897d84788529 (patch) | |
tree | e1c8c66d1343853025be19e1d82d54e8044edc6a | |
parent | 7a76b94bab71b0dc157f320ce380b80835eb5d5d (diff) | |
download | glibc-8a4566d712a70a7e3f33cfdb0590897d84788529.zip glibc-8a4566d712a70a7e3f33cfdb0590897d84788529.tar.gz glibc-8a4566d712a70a7e3f33cfdb0590897d84788529.tar.bz2 |
Revert "Fix elf/tst-tls20 stack OOB access"
This reverts commit 37cfa707b08a6d8c060d7fdebf2cc255e1de8908.
-rw-r--r-- | elf/tst-tls20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-tls20.c b/elf/tst-tls20.c index 3e94590..ce4635e 100644 --- a/elf/tst-tls20.c +++ b/elf/tst-tls20.c @@ -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); } |