Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Oct 2011 10:01:41 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] properly terminate linked link of dsos

On Wed, Oct 12, 2011 at 03:42:54PM +0200, Arvid Ephraim Picciani wrote:
> ---
>  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;

See line 357. This patch is a no-op.

Rich

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.