Remove the write-only variable phent. We currently do not check the

size of the program header's entries.

Reported by:	adrian (by using gcc 4.9)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2015-05-20 23:03:22 +00:00
parent f3dba86773
commit da47499040
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283162

View File

@ -1756,6 +1756,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req)
m->wire_count = 0;
}
m->object = NULL;
m->oflags = VPO_UNMANAGED;
vm_page_free(m);
return (NULL);
}