alloca and reliable stack-overflow detection in glibc functions
Ulrich Drepper
drepper@redhat.com
Wed Feb 4 08:29:00 GMT 2004
Nobody claimed we have added the alloca size protection to all code by
now. If there are ommission, like setenv, we'll fix it by using the
same methods.
But stupid problems doing unreasonable things are on their own. libc
will use a certain amount of stack memory. There is a minimum and above
that we try to take the stack size into account.
So, all we will are adding __libc_use_alloca() calls. Everything else
is the application's problem.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
More information about the Libc-alpha
mailing list