]> git.ipfire.org Git - thirdparty/glibc.git/commit
setenv.c: Get rid of alloca.
authorJoe Simmons-Talbott <josimmon@redhat.com>
Fri, 30 Jun 2023 14:31:45 +0000 (14:31 +0000)
committerJoe Simmons-Talbott <josimmon@redhat.com>
Fri, 30 Jun 2023 14:31:45 +0000 (14:31 +0000)
commit9401024e5e6be0e1c3870e185daae865cd4501f4
tree80b333a6cf8e36e36a428b9b423b35904e4ddc2b
parent9555be54ef94e5d017ce4235e4f7c4e16662e17e
setenv.c: Get rid of alloca.

Use malloc rather than alloca to avoid potential stack overflow.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
stdlib/setenv.c