]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Fix wrong break removal from 8ee878592c
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 7 Dec 2023 14:17:35 +0000 (11:17 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 7 Dec 2023 14:17:35 +0000 (11:17 -0300)
Reported-by: Alexander Monakov <amonakov@ispras.ru>
elf/readelflib.c

index f5b8c80e385139ccf4096758c0daf136bb33888e..64f1d662a9a3fccfe4dafd6da2a2c912ddcef286 100644 (file)
@@ -107,6 +107,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
        case PT_INTERP:
          program_interpreter = (char *) (file_contents + segment->p_offset);
          check_ptr (program_interpreter);
+         break;
 
        case PT_GNU_PROPERTY:
          /* The NT_GNU_PROPERTY_TYPE_0 note must be aligned to 4 bytes