[PATCH] Fix invalid free of memory allocated during rtld init

Andreas Schwab schwab@suse.de
Thu Jan 17 14:53:00 GMT 2013


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."



More information about the Libc-alpha mailing list