[osol-code] Re: [ksh93-integration-discuss] Trouble with "ERROR:ctfconvert:pics/wordexp.o: Couldn't parse stab "#vla0:(0, 14)" (source file pics/wordexp.o)" ...
Casper.Dik at Sun.COM
Casper.Dik at Sun.COM
Tue Nov 14 01:30:54 PST 2006
>Isn't that what alloca() is for? (Ignoring the simple fact that alloca()
>is actually horribly broken since it never tells you if it's failed, just
>lets you corrupt your stack when you ask for too much memory.)
Nah, it doesn't corrupt your sstack, it just overflows into the guard page
and then the libraries. (So you won't corrupt the stack but other stuff)
But for allocations of "small" sizes alloca() is not more dangerous than
calling another function.
Casper
More information about the ksh93-integration-discuss
mailing list