public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] Revert "Fix elf/tst-tls20 stack OOB access"
@ 2022-10-26 14:50 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-10-26 14:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8a4566d712a70a7e3f33cfdb0590897d84788529

commit 8a4566d712a70a7e3f33cfdb0590897d84788529
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Oct 26 09:25:36 2022 +0100

    Revert "Fix elf/tst-tls20 stack OOB access"
    
    This reverts commit 37cfa707b08a6d8c060d7fdebf2cc255e1de8908.

Diff:
---
 elf/tst-tls20.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elf/tst-tls20.c b/elf/tst-tls20.c
index 3e94590a00..ce4635eeb1 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);
     }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-26 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 14:50 [glibc/arm/morello/main] Revert "Fix elf/tst-tls20 stack OOB access" Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).