2 ms·
> I think Linux may also be failing to do the right zero-fill (leaving junk mapped from disk present) Is this heartbleed for ELF, or is the junk always mapped
by mike_hock 4y ago
> I think Linux may also be failing to do the right zero-fill (leaving junk mapped from disk present)
Is this heartbleed for ELF, or is the junk always mapped from the ELF binary itself (or the ldd binary, whose content is ostensibly common knowledge)?
- deleted 4y ago[deleted]
- toast0 4y agoWithout looking at the code in question, I'd guess it's junk from the loader binary; mmaping the file into the range, but not filling the end properly seems like a much easier mistake than having a one off amd broken way to get disk content and a little extra into memory for loading loaders.