mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1980] [MERGED] Fix OOB read/write in Teletext G0 charset remapping #2779
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1980
Author: @THE-Amrit-mahto-05
Created: 1/4/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @cfsmp3
Base:
master← Head:fix/telxcc-oob📝 Commits (1)
694b61fFix OOB read/write in Teletext G0 charset remapping📊 Changes
1 file changed (+11 additions, -0 deletions)
View changed files
📝
src/lib_ccx/telxcc.c(+11 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Summary
This PR fixes an out-of-bounds read/write in the Teletext decoder, specifically in the function
remap_g0_charset(uint8_t c).Root Cause
cwas used as an index intoG0_LATIN_NATIONAL_SUBSETS_MAP(size 56) without bounds checking.mwas then used as an index into another table (size 14) without validation.Fix
candm.Impact
fixed Issue: #1979
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.