☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2024-10-23 Thread builder
A new failure has been detected on builder elfutils-fedora-s390x while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/43/builds/367 Build state: failed test (failure) Revision: f5d6e088f84dd05278c4698a21cbf1ff4569978d Worker: fedora-s390x

☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2024-10-23 Thread builder
A new failure has been detected on builder elfutils-debian-ppc64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/63/builds/411 Build state: failed test (failure) Revision: 5c3e02e5dc3dd46a07d5d9d148dcc8000191c834 Worker: debian-ppc64

[Bug libelf/32293] Build of vl4-utils using elfutils-0.192 libelf (static) fails

2024-10-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32293 Mark Wielaard changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

Re: [PATCH] tests: run-debuginfod-seekable.sh depends on LZMA and DEBUGINFOD

2024-10-23 Thread Mark Wielaard
Hi Aaron, On Tue, Oct 22, 2024 at 09:19:26AM -0400, Aaron Merey wrote: > On Tue, Oct 22, 2024 at 7:48 AM Mark Wielaard wrote: > > > > The run-debuginfod-seekable.sh test would run (and fail) if lzma > > support was enabled, but debuginfod wasn't build. Only run it when > > both are available. > >

Re: [PATCH] configure: better error message for [lib]debuginfod missing dependencies

2024-10-23 Thread Mark Wielaard
On Tue, 2024-10-22 at 18:36 +0200, Mark Wielaard wrote: > When dependencies for libdebuginfod, debuginfod or ima verification are > missing and these features are explicitly enabled the user might not > immediately know which of the dependicies are missing. Move the checks > around a little so chec

[PATCH v2] configure: better error message for [lib]debuginfod missing dependencies

2024-10-23 Thread Mark Wielaard
When dependencies for libdebuginfod, debuginfod or ima verification are missing and these features are explicitly enabled the user might not immediately know which of the dependicies are missing. Move the checks around a little so checks for dependencies are done immediately before the enable error

Re: [PATCH] objdump.c: potential NULL pointer dereference in handle_ar

2024-10-23 Thread Mark Wielaard
Hi Anton, On Wed, 2024-10-23 at 14:14 +0300, ant.v.morya...@gmail.com wrote: > From: AntonMoryakov > > - Added a check to ensure `arhdr` is not NULL before using it in `strcmp` to > avoid segmentation fault. > - This resolves the issue where the pointer returned from `elf_getarhdr` may > be NU

Re: [PATCH] dwfl_segment_report_module.c: Fix potential NULL pointer dereference in handle_file_note

2024-10-23 Thread Mark Wielaard
Hi Anton, On Wed, 2024-10-23 at 14:08 +0300, ant.v.morya...@gmail.com wrote: > From: AntonMoryakov > > - Added a check to ensure `retval` is not NULL before using it in `strcmp` to > prevent a segmentation fault. > - This resolves the issue where `retval` could be NULL when passed to > `strcmp

Re: [PATCH] dwarf_ranges.c: Prevent null pointer dereference in dwarf_ranges

2024-10-23 Thread Mark Wielaard
Hi Anton, On Wed, 2024-10-23 at 13:40 +0300, ant.v.morya...@gmail.com wrote: > Fix a bug that caused a null pointer dereference in the `dwarf_ranges` > function. > Added a check for NULL before dereferencing the pointer `d` to prevent > potential > segmentation faults. Basically the same commen

Re: [PATCH] elfint.c: Fix NULL pointer dereference issue in process_file function

2024-10-23 Thread Mark Wielaard
Hi Anton, On Wed, 2024-10-23 at 13:09 +0300, ant.v.morya...@gmail.com wrote: > From: AntonMoryakov > > fix: fixed null pointer inference error in process_file function > > Fixed a bug that could cause the program to crash when processing files > without a suffix. Do you have a testcase for th

[PATCH] objdump.c: potential NULL pointer dereference in handle_ar

2024-10-23 Thread ant . v . moryakov
From: AntonMoryakov - Added a check to ensure `arhdr` is not NULL before using it in `strcmp` to avoid segmentation fault. - This resolves the issue where the pointer returned from `elf_getarhdr` may be NULL and causes a crash when dereferenced. --- src/objdump.c | 3 ++- 1 file changed, 2 ins

[PATCH] dwfl_segment_report_module.c: Fix potential NULL pointer dereference in handle_file_note

2024-10-23 Thread ant . v . moryakov
From: AntonMoryakov - Added a check to ensure `retval` is not NULL before using it in `strcmp` to prevent a segmentation fault. - This resolves the issue where `retval` could be NULL when passed to `strcmp`, which could cause a crash. --- libdwfl/dwfl_segment_report_module.c | 2 +- 1 file cha

[PATCH] dwarf_ranges.c: Prevent null pointer dereference in dwarf_ranges

2024-10-23 Thread ant . v . moryakov
From: AntonMoryakov Fix a bug that caused a null pointer dereference in the `dwarf_ranges` function. Added a check for NULL before dereferencing the pointer `d` to prevent potential segmentation faults. --- libdw/dwarf_ranges.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff -

[PATCH] elfint.c: Fix NULL pointer dereference issue in process_file function

2024-10-23 Thread ant . v . moryakov
From: AntonMoryakov fix: fixed null pointer inference error in process_file function Fixed a bug that could cause the program to crash when processing files without a suffix. Added a NULL check for the suffix pointer before calling stpcpy(). --- src/elflint.c | 7 ++- 1 file changed, 6 ins