Re: NNTPC: calloc stuff upu

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

 



> 
> Hi:
> 	Is there any reason why malloc/calloc/free are replaced with the ones
> from libmmalloc? Well, even if there is one, it's not done properly.  In fact,
> as it is, calloc doesn't get linked in because nobody uses it.  This causes
> many library calls to segfault on Linux with libc6.

Yes, there are reasons. 

> 	Anyway, you can add a dummy function to nntpcache.c to make sure that
> it's linked in as a temporary fix.  BTW, this is what causes expirations of any
> kind to fail on Linux with libc6 (aka glibc2).

This seems to be the correct permanent fix to me.

Cheers,
Julian.


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux