Landing: 29f50f5760e9

Project / Subsystem

binutils / readelf

Date

2026-07-16

Author

Alan Modra <amodra@sourceware.org>

Commit

29f50f5760e97d77d4f0fac572f1237bfd647398

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
readelf
patch_id
commit_hash
29f50f5760e97d77d4f0fac572f1237bfd647398
source_type
public_inbox
headline
readelf: Save and dump original section header values.
tldr
readelf now saves and displays original section header values, fixing potential buffer overflow and improving error handling.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • readelf
  • ELF
  • security
  • error handling
discussion_id_link
bugzilla_pr
date
2026-07-16T00:00:00.000Z

readelf now saves and displays the original section header values, which was previously missing. This change addresses a potential buffer overflow vulnerability in free_filedata by ensuring proper allocation and handling of section header data. It also improves error reporting for memory allocation failures.