Landing: f845edf617dd

Project / Subsystem

binutils / x86/disasm

Date

2026-05-26

Author

H.J. Lu <hjl@sourceware.org>

Commit

f845edf617dda2758e0eab9afd54a9444df01712

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
x86/disasm
patch_id
commit_hash
f845edf617dda2758e0eab9afd54a9444df01712
source_type
public_inbox
headline
x86/disasm: Fix format string without format specifiers.
tldr
Fixed a build failure caused by using a format string without format specifiers in the x86 disassembler.
author
H.J. Lu <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • x86
  • disassembler
  • security
  • build
discussion_id_link
bugzilla_pr
date
2026-05-26T00:00:00.000Z

The x86 disassembler code was updated to avoid using format strings without format specifiers, fixing a build failure triggered by the -Werror=format-security compiler flag. The i386_dis_printf calls were updated to include the %s format specifier when printing strings. This resolves PR binutils/34168.