mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +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 New Issue
Block a user