Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Oct 2011 15:42:54 +0200
From: Arvid Ephraim Picciani <aep@...s.org>
To: <musl@...ts.openwall.com>
Subject: [PATCH] properly terminate linked link of dsos

---
 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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.