getipv4sourcefilter: Get rid of alloca
authorJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 30 May 2023 18:32:55 +0000 (14:32 -0400)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 1 Jun 2023 17:47:12 +0000 (14:47 -0300)
commit884012db2046fce17bea0f35210ee424cc60ae06
treeb7dd7aedbd7a8a7f5040247436ef989472e00694
parentd1eaab5a7932cda190cbbfa657c684059b141c19
getipv4sourcefilter: 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/getipv4sourcefilter.c