hurd: readv: Get rid of alloca
authorJoe Simmons-Talbott <josimmon@redhat.com>
Mon, 19 Jun 2023 14:43:34 +0000 (10:43 -0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Jun 2023 17:15:10 +0000 (19:15 +0200)
commit9e6863a537e66e01f5819dc356c5405a2bc67dc7
treeaf07ae1399231497a797783e7d9cea5e4d221a39
parentc6957bddb939a1a602824b9fa731fc45fb4a6d8c
hurd: readv: Get rid of alloca

Replace alloca with a scratch_buffer to avoid potential stack overflows.

Checked on i686-gnu and x86_64-linux-gnu
Message-Id: <20230619144334.2902429-1-josimmon@redhat.com>
sysdeps/posix/readv.c