Fix loop termination in vm_map_find_min().
Reported by: antoine Tested by: Stefan Ehmann <shoesoft@gmx.net>, Jan Kokemueller <jan.kokemueller@gmail.com> PR: 220493 Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
12b4678b2a
commit
7683ad70d3
@ -1571,7 +1571,7 @@ vm_map_find_min(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
|
||||
find_space, prot, max, cow);
|
||||
if (rv == KERN_SUCCESS || min_addr >= hint)
|
||||
return (rv);
|
||||
*addr = min_addr;
|
||||
*addr = hint = min_addr;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user