Landing: 6867ffe72744
Project / Subsystem
binutils / bfd
Date
2026-07-27
Author
Alan Modra <amodra@sourceware.org>
Commit
6867ffe72744c0bf4309c51e04d1f6abad32411b
Source
public_inbox
Perf win
No
Breaking
Yes
All attributes
- project
- binutils
- subsystem
- bfd
- patch_id
- —
- commit_hash
- 6867ffe72744c0bf4309c51e04d1f6abad32411b
- source_type
- public_inbox
- headline
- DWARF1 AT_sibling sanity check
- tldr
- Adds sanity check for DWARF Version 1 AT_sibling to prevent infinite loops from fuzzed object files.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- true
- series_id
- —
- series_parts
- []
- tags
-
- • dwarf
- • debugging
- • security
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-27T00:00:00.000Z
This commit introduces a sanity check for the AT_sibling attribute in DWARF Version 1 debug information. It assumes AT_sibling pointers always point forward, a convention observed in GCC versions up to 3.3. This change prevents potential infinite loops when processing maliciously crafted object files, though it may affect compatibility with older DWARF v1 files that use backward sibling pointers.