diff --git a/vm-allocator/src/address.rs b/vm-allocator/src/address.rs index 8d35e4548..bfb99f36a 100755 --- a/vm-allocator/src/address.rs +++ b/vm-allocator/src/address.rs @@ -90,7 +90,7 @@ impl AddressAllocator { } // The aligned address should be within the address space range. - if aligned_address >= self.end || aligned_address <= self.base { + if aligned_address >= self.end || aligned_address < self.base { return Err(Error::Overflow); }