+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
During access_ok checks, addr increases as we iterate over the data structure, thus addr + len - 1 will point beyond the end of region we are translating. Harmless since we then verify that the region covers addr, but let's not waste cpu cycles. Reported-by:Koichiro Den <den@klaipeden.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Acked-by:
Koichiro Den <den@klaipeden.com>