]> git.ipfire.org Git - thirdparty/glibc.git/commit
cheri: elf: make sure dlpi_phdr covers the load segments
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 14 Sep 2022 13:04:18 +0000 (14:04 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:54 +0000 (14:46 +0100)
commitac41cba6b4853b22ce09697dfcfcd901b69f717a
tree7fa8b70f424705515c1fd417a18e163686abac72
parent5ea99c81afe66b84460685114e79b95b97c7ba83
cheri: elf: make sure dlpi_phdr covers the load segments

In dl_iterate_phdr phdr is the only capability passed to the callback
that may be used to derive pointers of the elf module, so ensure it
has wide bounds.
elf/dl-iteratephdr.c