mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
f3dba86773
commit
da47499040
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue