This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Greetings,
Attached patch fixes several instances of unconstrained stack allocation,
which causes ld.so to overflow stack and crash while processing DSO with
1000s of Phdr[]s, and adds a test case.
2018-05-21 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #23187]
* elf/Makefile (tst-many-phdrs): New test.
* elf/tst-many-phdrs.c: New.
* elf/dl-load.c (_dl_map_object_from_fd): Constrain stack
allocation.
(open_verify): Likewise.
--
Paul Pluzhnikov
Attachment:
glibc-bz23187-20180521.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |