Landing: b2ba16132fe4
Project / Subsystem
binutils / binutils/libctf
Date
2026-07-03
Author
Alan Modra <amodra@sourceware.org>
Commit
b2ba16132fe4ecdb1ae112e017266b045de9dd80
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils/libctf
- patch_id
- —
- commit_hash
- b2ba16132fe4ecdb1ae112e017266b045de9dd80
- source_type
- public_inbox
- headline
- Fix double free in ctf_link_deduplicating_per_cu.
- tldr
- Fixes a double free error in the CTF linking process when an error occurs during input processing.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • binutils
- • ctf
- • memory error
- • bugfix
- discussion_id_link
- public_inbox:binutils#34275
- bugzilla_pr
- —
- date
- 2026-07-03T00:00:00.000Z
This commit corrects a double free error in the ctf_link_deduplicating_per_cu function within libctf/ctf-link.c. The error occurred on the error path when ctf_next_destroy was mistakenly called twice. The fix ensures ctf_next_destroy is called only once, resolving the issue.