Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: d10687fc401fbae565bdfb704e5719345efa7692
      
https://github.com/siemens/jailhouse/commit/d10687fc401fbae565bdfb704e5719345efa7692
  Author: Jan Kiszka <[email protected]>
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
    M hypervisor/mmio.c

  Log Message:
  -----------
  core: Fix matching on mmio_region_unregister

Looking up the to-be-deleted region with zero legnth can cause false
matches:

Registered regions:
      Start       Size
 0xb0000000 0x10000000
0x100000000     0x1000
0x100002000       0x20
0x100002020       0x20

Now trying to remove 0x100002020 will match on 0x100002000. This can be
trivially avoided by looking for a 1-byte region.

Fixes: 0993685e882f ("core: Add generic MMIO access dispatching")

Signed-off-by: Jan Kiszka <[email protected]>


-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to