Undo 'fix off by one' part of r365360.

Noted by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	6 days
This commit is contained in:
kib 2020-09-05 22:48:27 +00:00
parent 474e4d2039
commit ea1906d44b

View File

@ -49,7 +49,7 @@ int __getosreldate(void);
static bool
phdr_in_zero_page(const Elf_Ehdr *hdr)
{
return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <
return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <=
(size_t)PAGE_SIZE);
}