Comment 4 for bug 13460

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 3 Mar 2005 09:34:16 -0500
From: Daniel Jacobowitz <email address hidden>
To: wim delvaux <email address hidden>, <email address hidden>
Subject: Re: Bug#297798: libc6: dlerror valgrind error

On Thu, Mar 03, 2005 at 12:31:39AM +0100, wim delvaux wrote:
> Package: libc6
> Version: 2.3.2.ds1-20
> Severity: critical
> Justification: breaks unrelated software

That's not "unrelated" software, you're using libc6. By that
justification every bug in a library is critical.

> if i interpret this correctly then dlsym (used somewhere in the write
> function of valgrind), causes a free of the return string of a
> dlerror() which is still needed by my application because it wants
> to printf it.
>
> if that free occurs all the time it might break other applications too.

Sounds like a bug in valgrind. dlerror's result is only guaranteed
until the next call to a dl* function.

--
Daniel Jacobowitz
CodeSourcery, LLC