hurd: writev: Get rid of alloca
authorJoe Simmons-Talbott <josimmon@redhat.com>
Thu, 8 Jun 2023 15:58:43 +0000 (11:58 -0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 19 Jun 2023 00:45:19 +0000 (02:45 +0200)
commitcf30aa43a5917f441c9438aaee201c53c8e1d76b
tree1f297fda25f6dba592c1f98e2b2754ca745ba13e
parent01dd2875f85213b26beefb66caad3564da89d1d1
hurd: writev: Get rid of alloca

Use a scratch_buffer rather than alloca to avoid potential stack
overflows.

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