mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-17 19:43:50 +00:00
[PR #1992] fix: Teletext decoder panic on malformed BCD data #2798
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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1992
State: closed
Merged: Yes
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