[PATCH] microblaze: don't index the local symbol cache with a global symbol index

Project / Subsystem

binutils / microblaze

Date

2026-08-10

Proposer

Sam Price <thesamprice@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

All attributes

project
binutils
subsystem
microblaze
patch_id
—
discussion_id
CAEekfLaapRDKPRzsTWeU0nC0AZL5yWgYgeqi1sw7ObkxHh-=6g@mail.gmail.com
source_type
public_inbox
title
[PATCH] microblaze: don't index the local symbol cache with a global symbol index
headline
microblaze: don't index the local symbol cache with a global symbol index
tldr
Patch fixes an out-of-bounds read in microblaze ELF relaxation by adding a missing bounds check.
proposer
Sam Price <thesamprice@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
[]
bugzilla_url
—
date
2026-08-10T00:00:00.000Z

[PATCH] microblaze: don't index the local symbol cache with a global symbol index

Sam Price has submitted a patch to fix an issue in microblaze_elf_relax_section where a bounds check was dropped during a code copy, leading to an out-of-bounds read that could corrupt relocation addends. The patch reintroduces the missing guard, preventing silent miscompilations and ensuring data integrity, as confirmed by new test cases.