X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a265a2a8065c1d56ed18d562b6e5ea6377281f35..f05fb116ee07850beac57ad9017f7f92e8e605ad:/packages/elfutils/elf_getarsym.c.patch diff --git a/packages/elfutils/elf_getarsym.c.patch b/packages/elfutils/elf_getarsym.c.patch index 30a0d59b..f49cdb66 100644 --- a/packages/elfutils/elf_getarsym.c.patch +++ b/packages/elfutils/elf_getarsym.c.patch @@ -126,12 +126,3 @@ diff -u -r ../elfutils-0.159/libelf/elf_getarsym.c ./libelf/elf_getarsym.c static int read_number_entries (uint64_t *nump, Elf *elf, size_t *offp, bool index64_p) -@@ -166,7 +284,7 @@ - - /* We have an archive. The first word in there is the number of - entries in the table. */ -- uint64_t n; -+ uint64_t n = 0; - size_t off = elf->start_offset + SARMAG + sizeof (struct ar_hdr); - if (read_number_entries (&n, elf, &off, index64_p) < 0) - {