From 079e997ce5106dce42b08527a406850f950d291f Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 11 Aug 2018 14:16:39 +0200 Subject: Fixed a regression about symbol iterating introduced by commit 2c7e1c63e. --- src/analysis/disass/routines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.11.2-87-g4458