gethostid (Linux variant): Switch to struct scratch_buffer [BZ #18023]
commit890c2ced35cfbf2de7d787fd37caf23d250da531
authorFlorian Weimer <fweimer@redhat.com>
Wed, 27 Jun 2018 15:55:38 +0000 (27 17:55 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 27 Jun 2018 15:55:38 +0000 (27 17:55 +0200)
tree591974afd82babb6ea28a5efe3d2693873a3137a
parent4272059de256fb20a7b19b5f8509e0c8d27beaf4
gethostid (Linux variant): Switch to struct scratch_buffer [BZ #18023]

Previously, extend_alloca was used without alloca accounting,
which could have been problematic with large NSS results.
ChangeLog
sysdeps/unix/sysv/linux/gethostid.c