This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix invalid free of memory allocated during rtld init
Carlos O'Donell <carlos@systemhalted.org> writes:
> An assumption in this case might be:
> ~~~
> Early rtld startup can't use malloc, instead it uses
> a dummy malloc that doesn't support freeing memory
> (except for the last block allocated).
> ~~~
That's not the point. The point is that you can't use free on memory
allocated during rtld init. Exactly what I wrote in the subject.
> I need your help, and so do the others in this
> community, we'd like to learn from your experience.
You learn a lot more if you try to find it out yourself and ask specific
questions if you are stuck somewhere.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."