mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-20 13:03:58 +00:00
[PR #1992] [MERGED] fix: Teletext decoder panic on malformed BCD data #2793
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/1992
Author: @THE-Amrit-mahto-05
Created: 1/7/2026
Status: ✅ Merged
Merged: 1/18/2026
Merged by: @cfsmp3
Base:
master← Head:fix/teletext-panic📝 Commits (2)
333cfb3fix: Teletext decoder panic on malformed BCD data (#1990)10ac5caadd safety checks and comments in Teletext decoder📊 Changes
1 file changed (+60 additions, -54 deletions)
View changed files
📝
src/rust/lib_ccxr/src/teletext.rs(+60 -54)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Description
This PR fixes a crash in the Teletext decoder caused by unwrap() on malformed BCD data.
Although PR #1991 addressed a related issue in the Rust word file parser for #1990, some edge cases in the Teletext decoder were left unhandled. This PR fixes those remaining cases.
Changes made
Context
Fixes #1990
Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.