[Gc] Possible bug in malloc.c

Hans Boehm Hans.Boehm at hp.com
Thu Feb 28 10:10:33 PST 2008


Thanks.  Good catch.  In addition I think this should also check for a 
libdl caller.  I checked in a fix.

Fortunately, this should only matter in pretty obscure GC configurations.

Hans

On Tue, 26 Feb 2008, Christian Gudrian wrote:

> Hello!
>
> I might have found a bug in malloc.c.  Line 509 (current CVS version) reads:
>
> if (caller >= GC_libpthread_start && caller > GC_libpthread_end) {
>                                             ^
>
> I suspect that has to be a '<' at the marked place, hasn't it?
>
> Christian
>
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>


More information about the Gc mailing list