[Bug tools/27501] New: eu-readelf hang while process crafted file

2021-03-02 Thread polaalemu at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27501 Bug ID: 27501 Summary: eu-readelf hang while process crafted file Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Com

Re: build-ids, .debug_sup and other IDs

2021-03-02 Thread Tom Tromey
Frank> (Does dwz'd dwarf5 even work on gdb Frank> etc. now?) It doesn't, this thread started because I sent a patch to change gdb to read .debug_sup. This hasn't landed yet. Tom

Re: build-ids, .debug_sup and other IDs

2021-03-02 Thread Tom Tromey
>> But, this seemed a bit weird. What if both appear and they are >> different? Then a single API isn't so great -- you want to check the ID >> corresponding to whatever was in the original file. Frank> If both appear and are different, can we characterize the elf file as Frank> malformed? Not

[Bug debuginfod/27399] dpkg-deb/lzma error when indexing .debs

2021-03-02 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27399 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: debuginfod: Remove always-false comparisons with LONG_MAX

2021-03-02 Thread Mark Wielaard
Hi Timm, On Tue, 2021-03-02 at 09:30 +0100, Timm Bäder via Elfutils-devel wrote: > If I understand the code correctly, these comparisons exist only for > the > curl_off_t cases, in which case dl and cl might be greater than > LONG_MAX. However, in case they are declares as double values, this > ca

Buildbot failure in Wildebeest Builder on whole buildset

2021-03-02 Thread buildbot
The Buildbot has detected a failed build on builder whole buildset while building elfutils. Full details are available at: https://builder.wildebeest.org/buildbot/#builders/2/builds/734 Buildbot URL: https://builder.wildebeest.org/buildbot/ Worker for this Build: debian-amd64 Build Reason:

Buildbot failure in Wildebeest Builder on whole buildset

2021-03-02 Thread buildbot
The Buildbot has detected a failed build on builder whole buildset while building elfutils. Full details are available at: https://builder.wildebeest.org/buildbot/#builders/4/builds/733 Buildbot URL: https://builder.wildebeest.org/buildbot/ Worker for this Build: debian-i386 Build Reason:

Re: [PATCH] elfcompress: Replace cleanup() with label

2021-03-02 Thread Mark Wielaard
Hi Timm, On Tue, 2021-03-02 at 09:05 +0100, Timm Bäder via Elfutils-devel wrote: > This unifies the error handling with the rest of the code base and > gets rid of a nested function. > > +2021-03-02 Timm Bäder > + > + * elfcompress.c (process_file): Remove cleanup() function and > + re

[PATCH] debuginfod-client: Remove always-false comparisons

2021-03-02 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder When comparing a long to a double, clang prints the following warning: ../../debuginfod/debuginfod-client.c:917:28: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion]

debuginfod: Remove always-false comparisons with LONG_MAX

2021-03-02 Thread Timm Bäder via Elfutils-devel
If I understand the code correctly, these comparisons exist only for the curl_off_t cases, in which case dl and cl might be greater than LONG_MAX. However, in case they are declares as double values, this cannot be the case and the comparisons are unnecessary. - Timm

[PATCH] elfcompress: Replace cleanup() with label

2021-03-02 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder This unifies the error handling with the rest of the code base and gets rid of a nested function. Signed-off-by: Timm Bäder --- src/ChangeLog | 6 ++ src/elfcompress.c | 215 +++--- 2 files changed, 112 insertions(+), 109 deletions