Landing: ebe2f2b098a5

Project / Subsystem

binutils / binutils/bfd

Date

2026-07-22

Author

Alan Modra <amodra@sourceware.org>

Commit

ebe2f2b098a562b0f19ca99856df7793cd1dcc67

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/bfd
patch_id
commit_hash
ebe2f2b098a562b0f19ca99856df7793cd1dcc67
source_type
public_inbox
headline
PR 34418 alpha_vms_slurp_relocs off-by-one section index check
tldr
Fixed an off-by-one error in BFD's VMS Alpha relocation handling by correcting section index bounds checking.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • binutils
  • bfd
  • alpha
  • vms
  • bugfix
discussion_id_link
public_inbox:binutils#34418
bugzilla_pr
date
2026-07-22T00:00:00.000Z

Corrected an off-by-one error in the alpha_vms_slurp_relocs function within BFD, which handles VMS Alpha relocations. The fix involves making the cur_psect variable unsigned and adjusting the bounds check to prevent incorrect section indexing, resolving a potential issue where invalid section indices could be accepted.