getsourcefilter: Get rid of alloca.
commitd1eaab5a7932cda190cbbfa657c684059b141c19
authorJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 30 May 2023 18:13:40 +0000 (30 14:13 -0400)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 1 Jun 2023 17:46:09 +0000 (1 14:46 -0300)
tree9ca36cb571cc82feec4154c8706319c3cfaae49a
parent29e25f6f136182fb3756d51e03dea7c4d1919dd9
getsourcefilter: Get rid of alloca.

Use a scratch_buffer rather than alloca to avoid potential stack
overflows.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/getsourcefilter.c