Reset both pagepool_start and pagepool_end after a mmap(2) failure, to avoid using invalid pagepool either for allocation or munmap(2).
PR: 259076
Noted by: Denis Koreshkov <dynamic-wind@mail.ru>
Differential D32514
rtld_malloc: more accurate handling of mmap(2) failure kib on Oct 15 2021, 9:37 PM. Authored by Tags None Referenced Files
Details Reset both pagepool_start and pagepool_end after a mmap(2) failure, to avoid using invalid pagepool either for allocation or munmap(2). PR: 259076
Diff Detail
|