From 630fcab4fcfa9afab4688d803892d76cf6f46961 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 20 Nov 2019 19:13:57 +0100 Subject: [PATCH] fix missing goto into load_comp_unit --- src/comp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/comp.c b/src/comp.c index e604c31c5fe..3e5f8f29901 100644 --- a/src/comp.c +++ b/src/comp.c @@ -3290,7 +3290,10 @@ load_comp_unit (dynlib_handle_ptr handle, char *file_name) else if (!strcmp (f_str, "specbind")) f_relocs[i] = (void *) specbind; else - err_msg = format_string ("unexpected function relocation %s.", f_str); + { + err_msg = format_string ("unexpected function relocation %s.", f_str); + goto exit_error; + } } /* Executing this will perform all the expected environment modification. */ -- 2.39.5