aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-12-07 11:17:35 -0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-12-23 16:22:23 +0100
commit391a0d5ef89c0f7b252e7ece218a93da476d3b5c (patch)
tree5dd210681fdc22338de44cfa64e492e91a7b626b
parentsysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ... (diff)
downloadglibc-391a0d5ef89c0f7b252e7ece218a93da476d3b5c.tar.gz
glibc-391a0d5ef89c0f7b252e7ece218a93da476d3b5c.tar.bz2
glibc-391a0d5ef89c0f7b252e7ece218a93da476d3b5c.zip
elf: Fix wrong break removal from 8ee878592c
Reported-by: Alexander Monakov <amonakov@ispras.ru> (cherry picked from commit 546a1ba664626603660b595662249d524e429013) (cherry picked from commit bf5aa419cbf545d2cd09dc097e518033d6e4df5e)
-rw-r--r--elf/readelflib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/readelflib.c b/elf/readelflib.c
index f5b8c80e38..64f1d662a9 100644
--- a/elf/readelflib.c
+++ b/elf/readelflib.c
@@ -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