☺ Buildbot (Sourceware): elfutils - build successful (main)

2025-09-15 Thread builder
A restored build has been detected on builder elfutils-debian-armhf while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/6/builds/439 Build state: build successful Revision: 13153e98ee4f4b4ad2c73c2a747b6c2db984e029 Worker: debian-armhf Bu

[COMMITTED] libelf: check ehdr isn't NULL before calling default_ehdr

2025-09-15 Thread Mark Wielaard
default_ehdr assumes the passed ehdr pointer is not NULL and can be directly dereferenced. But getehdr can return NULL. So explicitly check. * libelf/elf32_updatenull.c (updatenull_wrlock): Check ehdr is not NULL. https://sourceware.org/bugzilla/show_bug.cgi?id=33433 Signed-off-b

Re: [PATCH 1/4 v3] doc: Add elf_flag*.3

2025-09-15 Thread Mark Wielaard
Hi Aaron, One small comment below, but this looks good with or without that. On Sun, Sep 14, 2025 at 07:20:59PM -0400, Aaron Merey wrote: > v3 changes: > Fix unbalanced " in SYNOPSIS. > Reword ELF_F_LAYOUT description and mention that phdr offset changes will > prevent automatic changes to shdr o

[Bug libelf/33433] New: elf32_updatenull.c:57:7: error: potential null pointer dereference [-Werror=null-dereference]

2025-09-15 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=33433 Bug ID: 33433 Summary: elf32_updatenull.c:57:7: error: potential null pointer dereference [-Werror=null-dereference] Product: elfutils Version: unspecified Status: NEW

Re: [PATCH 2/4 v3] doc: Add elf_memory.3

2025-09-15 Thread Mark Wielaard
Hi Aaron, On Sun, Sep 14, 2025 at 07:21:00PM -0400, Aaron Merey wrote: > Signed-off-by: Aaron Merey > > --- > v3: Mention that the underlying memory image should be writable since > libelf may attempt to modify it. Remove some implementation details. > > doc/Makefile.am | 1 + > doc/elf_mem