mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] properly terminate linked link of dsos
@ 2011-10-12 13:42 Arvid Ephraim Picciani
  2011-10-12 14:01 ` Rich Felker
  0 siblings, 1 reply; 7+ messages in thread
From: Arvid Ephraim Picciani @ 2011-10-12 13:42 UTC (permalink / raw)
  To: musl

---
 src/ldso/dynlink.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 1b55e07..3f271aa 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -375,6 +375,7 @@ static struct dso *load_library(const char *name)
 	p->name = p->buf;
 	strcpy(p->name, name);
 
+    p->tail = 0;
 	tail->next = p;
 	p->prev = tail;
 	tail = p;
-- 
1.7.7



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-14 22:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-12 13:42 [PATCH] properly terminate linked link of dsos Arvid Ephraim Picciani
2011-10-12 14:01 ` Rich Felker
2011-10-12 14:25   ` aep
2011-10-12 14:46     ` aep
2011-10-14  1:03       ` Rich Felker
2011-10-14 21:11         ` Isaac Dunham
2011-10-14 22:53           ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).