bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Dangling Pointer in libltdl


From: Ralf Wildenhues
Subject: Re: [patch] Dangling Pointer in libltdl
Date: Fri, 26 Jan 2007 00:13:19 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Dave Brolley wrote on Wed, Jan 24, 2007 at 11:14:56PM CET:
> >>
> >> I have trouble reproducing this bug easily. Which system does it happen
> >> on?
> 
> It happened in a cygwin 1.6.9 environment on Windows XP Home edition.

Confirmed on Cygwin.

> >> In what order
> >> are things opened/linked against, which ones are closed explicitly, for
> >> this to trigger? Do you mix calls to lt_dlopen with direct calls to
> >> dlopen? Do you mix libraries created with libtool with libraries
> >> created without?
> 
> These questions will take some time to sort out.

No need for answers any more, thanks.

> Given time, I should be able to come up with a test case if necessary.

I have a test.  Will post and apply both when I have it cleaned up.

> You are correct. I have attached a new patch which corrects this and 
> also corrects a problem with my previous patch. My previous patch causes 
> an infinite loop in the case that a resident library is in the linked 
> list.

Ah, good to know.  I should test for that as well.

Thanks again,
Ralf

> 2007-01-24  Dave Brolley  <address@hidden>
> 
>       * libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL before
>       checking that it is still in the list.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]