diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-12-11 23:10:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-12-11 23:10:44 (GMT) |
commit | a847082da67c5af831d1f4b66a628de2e9d61395 (patch) | |
tree | 9bd1b22c404f1e0be4b47475cc63c99728befa6d | |
parent | c7086963aee5ffc3baec6181aa977b98564b6166 (diff) |
Fixed a bug occurring when testing the trailing byte of an area.
-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 |