Landing: 4a60f8f32787

Project / Subsystem

binutils / bfd

Date

2026-07-02

Author

Alan Modra <amodra@sourceware.org>

Commit

4a60f8f3278769d1c813b049fd648adc246fddb7

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
bfd
patch_id
commit_hash
4a60f8f3278769d1c813b049fd648adc246fddb7
source_type
public_inbox
headline
PR 34327 Fix out-of-bounds accesses in relocations
tldr
Binutils BFD library improves relocation bounds-checking, fixing crashes.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • bugfix
  • security
  • relocation
discussion_id_link
public_inbox:binutils#34327
bugzilla_pr
date
2026-07-02T00:00:00.000Z

This commit addresses out-of-bounds accesses in BFD’s relocation handling, as reported in PR 34327. It corrects issues where relocation fields were not properly contained within their sections across various architectures like D30V, S12Z, and SPU. The mmix relocation entry for R_MMIX_BASE_PLUS_OFFSET has also been fixed to correctly reflect its size and overflow handling.