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:
parent
474e4d2039
commit
ea1906d44b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user