Landing: fa11363bc9ad
Project / Subsystem
binutils / gas
Date
2026-07-31
Author
Nick Clifton <nickc@sourceware.org>
Commit
fa11363bc9ad30671372670ec5216c723ab4db42
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- gas
- patch_id
- —
- commit_hash
- fa11363bc9ad30671372670ec5216c723ab4db42
- source_type
- public_inbox
- headline
- GAS: Prevent dangling pointers in sframe_xlate_ctx_cleanup
- tldr
- GAS sframe context cleanup now explicitly nullifies pointers to prevent dangling pointers.
- author
- Nick Clifton <nickc@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gas
- • stability
- • cleanup
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
The sframe_xlate_ctx_cleanup function in the GNU Assembler (GAS) has been improved to prevent dangling pointers. After freeing memory associated with first_fre, remember_fre, and cur_fre, the function now explicitly sets these pointers to NULL. Additionally, related members like last_fre, num_xlate_fres, and flex_p are reset to their default states, ensuring a clean state after cleanup.