[uClibc]busybox insmod with uClibc is broken for pcmcia modules
Erik Andersen
andersen at lineo.com
Tue Apr 24 18:40:30 UTC 2001
On Tue Apr 24, 2001 at 12:36:02PM +0300, Michael Shmulevich wrote:
> Uninitialized module is usually happens when you did the obj_load() in
> insmod, but didn't do module_init(). At our place this happened when the
> insmod tried to add symbol to _ksymtab section at index -1. See the
> "Segmentation fault" message. New modutils fixed this bug.
Do you know what version?
>
> 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.
-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