_dl_map_object_deps: Use struct scratch_buffer [BZ #18023]
commit92d6aa8528f2ddab2361bc160a96b9cd3c497a11
authorFlorian Weimer <fweimer@redhat.com>
Wed, 27 Jun 2018 15:55:55 +0000 (27 17:55 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 27 Jun 2018 15:55:56 +0000 (27 17:55 +0200)
tree5914941e1df8cc69977d96397f80e230e381d543
parent890c2ced35cfbf2de7d787fd37caf23d250da531
_dl_map_object_deps: Use struct scratch_buffer [BZ #18023]

The function comment suggests that _dl_map_object_deps cannot use
malloc, but it already allocates the l_initfini array on the heap, so
the additional allocation should be acceptable.
ChangeLog
elf/dl-deps.c