diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/analysis/disass/area.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +15-12-12 Cyrille Bagard <nocbos@gmail.com> + + * src/analysis/disass/area.c: + Fix a bug occurring when testing the trailing byte of an area. + 15-12-10 Cyrille Bagard <nocbos@gmail.com> * po/POTFILES.in: diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 355b716..86c41d3 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -202,7 +202,7 @@ static bool is_range_blank_in_mem_area_v2(mem_area_v2 *area, phys_t start, phys_ { bool result; /* Résultat à renvoyer */ - if ((start + len) >= get_mrange_length(&area->range)) + if ((start + len) > get_mrange_length(&area->range)) result = false; else |