summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-11 12:16:39 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-11 12:16:39 (GMT)
commit079e997ce5106dce42b08527a406850f950d291f (patch)
treeb17e9511b43c714c4c89c4c3231f2332ad3a6d75 /src
parentc010f11b90428ffb403b998386433c572b63be49 (diff)
Fixed a regression about symbol iterating introduced by commit 2c7e1c63e.
Diffstat (limited to 'src')
-rw-r--r--src/analysis/disass/routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/disass/routines.c b/src/analysis/disass/routines.c
index c57b80c..d260bad 100644
--- a/src/analysis/disass/routines.c
+++ b/src/analysis/disass/routines.c
@@ -295,7 +295,7 @@ void g_routines_study_compute_limits(GRoutinesStudy *study, GBinRoutine *routine
for (next = NULL, index++; next == NULL && index < study->count; index++)
{
- next_symbol = g_binary_format_get_symbol(study->format, index + 1);
+ next_symbol = g_binary_format_get_symbol(study->format, index);
/**
* Les étiquettes à l'intérieur de code ne doivent pas constituer