mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue