Landing: 95451ea43a7e

Project / Subsystem

binutils / bfd

Date

2026-06-13

Author

Alan Modra <amodra@sourceware.org>

Commit

95451ea43a7e2e4aa806ee7405e9167b2ee653c1

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
commit_hash
95451ea43a7e2e4aa806ee7405e9167b2ee653c1
source_type
public_inbox
headline
Fix vms-alpha segfault in image_write_section with fuzzing
tldr
This commit fixes a segmentation fault in `image_write_section` for vms-alpha targets within Binutils when encountering malformed object files from fuzzing.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bugfix
  • fuzzing
  • vms-alpha
discussion_id_link
bugzilla_pr
date
2026-06-13T00:00:00.000Z

Binutils experienced a segmentation fault in the image_write_section function specifically for vms-alpha targets, triggered by malformed object files created through fuzzing. The root cause was a missing null check for image_section. This commit adds the necessary check, preventing crashes when image_section is null and thus improving the robustness of the vms-alpha object file handling against corrupted inputs.