diff options
| author | Maxime Coquelin | 2017-10-10 11:42:47 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-10-12 12:10:38 +0200 |
| commit | b021d1c04452276f4926eed2d104ccbd1037a6e1 (patch) | |
| tree | 083a4f29fff21c9a346a2ef82eac236bf8af1730 /default-configs/ppc-linux-user.mak | |
| parent | exec: simplify address_space_get_iotlb_entry (diff) | |
| download | qemu-b021d1c04452276f4926eed2d104ccbd1037a6e1.tar.gz qemu-b021d1c04452276f4926eed2d104ccbd1037a6e1.tar.xz qemu-b021d1c04452276f4926eed2d104ccbd1037a6e1.zip | |
memory: fix off-by-one error in memory_region_notify_one()
This patch fixes an off-by-one error that could lead to the
notifyee to receive notifications for ranges it is not
registered to.
The bug has been spotted by code review.
Fixes: bd2bfa4c52e5 ("memory: introduce memory_region_notify_one()")
Cc: qemu-stable@nongnu.org
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-Id: <20171010094247.10173-4-maxime.coquelin@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'default-configs/ppc-linux-user.mak')
0 files changed, 0 insertions, 0 deletions
