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

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



Reply to: