Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120825214214.GN27715@brightrain.aerifal.cx>
Date: Sat, 25 Aug 2012 17:42:14 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: ldso : dladdr support

On Sat, Aug 25, 2012 at 11:34:13PM +0200, musl wrote:
> I found a bug in gnu_lookup of dependencies :
> 
> +        if (p->deps[i]->ghashtab) {
> +            if (!gh) gh = gnu_hash(s);
> +            sym = gnu_lookup(s, h, p->deps[i]);
> +        } else {
> +            if (!h) h = sysv_hash(s);
> +            sym = sysv_lookup(s, h, p->deps[i]);
> +        }
> 
> you pass 'h' instead of 'gh' to gnu_lookup func

Thanks! Fixed.

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.