summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-12-11 23:10:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-12-11 23:10:44 (GMT)
commita847082da67c5af831d1f4b66a628de2e9d61395 (patch)
tree9bd1b22c404f1e0be4b47475cc63c99728befa6d
parentc7086963aee5ffc3baec6181aa977b98564b6166 (diff)
Fixed a bug occurring when testing the trailing byte of an area.
-rw-r--r--ChangeLog5
-rw-r--r--src/analysis/disass/area.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b1379c..fae9a9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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