grantpt: Get rid of alloca
authorJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 13 Jun 2023 19:16:31 +0000 (15:16 -0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 17 Jun 2023 23:08:04 +0000 (01:08 +0200)
commit01dd2875f85213b26beefb66caad3564da89d1d1
treeffe9df4db0f0224da30f884591a410f80aa30853
parent1d44530a5be2442e064baa48139adc9fdfb1fc6b
grantpt: Get rid of alloca

Replace alloca with a scratch_buffer to avoid potential stack overflows.
Message-Id: <20230613191631.1080455-1-josimmon@redhat.com>
sysdeps/unix/grantpt.c