Landing: 88125e1b9f38

Project / Subsystem

binutils / arm

Date

2026-08-11

Author

Alan Modra <amodra@sourceware.org>

Commit

88125e1b9f385537856c2271e45048ca3b007bce

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
arm
patch_id
—
commit_hash
88125e1b9f385537856c2271e45048ca3b007bce
source_type
public_inbox
headline
Fix uninitialized exp.X_op in ARM assembler expression parsing
tldr
ARM assembler correctly initializes expression data before parsing to prevent potential errors.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • arm
  • • assembler
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-11T00:00:00.000Z

A fix has been applied to the ARM assembler’s expression parsing logic to address an uninitialized exp.X_op field. The initialization of the expressionS structure is now performed before the first return in the my_get_expression function. This ensures that all fields within the expression structure are properly initialized, preventing potential errors or undefined behavior during the parsing of ARM assembly expressions.