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
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
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
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
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