mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
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
500433057e
commit
12cb97fb37
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365370
|
@ -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…
Reference in a new issue