[uClibc]busybox insmod with uClibc is broken for pcmcia modules

Erik Andersen andersen at lineo.com
Wed Apr 25 16:11:42 UTC 2001


On Wed Apr 25, 2001 at 11:07:18AM +0300, Michael Shmulevich wrote:
> > Do you know what version?
> 
> The latest from ftp.kernel.org. I guess modutils-2.4.x
> 
> >> I bet the modules can only be loaded if they have a _ksymtab section 
> >> already. Glibc's malloc less restrictive at overwriting areas near 
> >> "malloc()-1". uClibc is not, it just segfaults,
> > 
> > 
> > So having a malloc that allows you to underflow buffers is good?
> > It is much better to get a segfault then to have a bug that is
> > hidden by a forgiving malloc.
> 
> The idae was opposite: with glibc you don't see the bug, but it is not 
> so with uclibc. So, it is better to use bug-revealing library.

Right.  

> Actually the fact that we used uclibc helped to fix several mistakes in 
> different stuff which was tightly coupled with glibc. Thanks Erik for an 
> awesome package.

:-)  Thanks.  

BTW, I just noticed that the uClibc alternate malloc implementations, 
malloc-simple and malloc-930716, did not return NULL on a malloc(0),
so I just fixed them to also return NULL.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list