From a847082da67c5af831d1f4b66a628de2e9d61395 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 12 Dec 2015 00:10:44 +0100 Subject: Fixed a bug occurring when testing the trailing byte of an area. --- ChangeLog | 5 +++++ src/analysis/disass/area.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b1379c..fae9a9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +15-12-12 Cyrille Bagard + + * src/analysis/disass/area.c: + Fix a bug occurring when testing the trailing byte of an area. + 15-12-10 Cyrille Bagard * 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 -- cgit v0.11.2-87-g4458