diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-27 17:55:55 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-27 17:55:56 +0200 |
commit | 92d6aa8528f2ddab2361bc160a96b9cd3c497a11 (patch) | |
tree | 5914941e1df8cc69977d96397f80e230e381d543 /ChangeLog | |
parent | 890c2ced35cfbf2de7d787fd37caf23d250da531 (diff) | |
download | glibc-92d6aa8528f2ddab2361bc160a96b9cd3c497a11.tar.gz glibc-92d6aa8528f2ddab2361bc160a96b9cd3c497a11.tar.xz glibc-92d6aa8528f2ddab2361bc160a96b9cd3c497a11.zip |
_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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b14f1cd29d..1a2a7f8c62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,12 @@ 2018-06-27 Florian Weimer <fweimer@redhat.com> [BZ #18023] + * elf/dl-deps.c (_dl_map_object_deps): Use struct + scratch_buffer instead of extend_alloca. + +2018-06-27 Florian Weimer <fweimer@redhat.com> + + [BZ #18023] * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct scratch_buffer instead of extend_alloca. Update comments. |