mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1962] [CLOSED] fix DTVCC: Structural type confusion / OOB writes #2761
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/1962
Author: @THE-Amrit-mahto-05
Created: 1/2/2026
Status: ❌ Closed
Base:
master← Head:fix/dtvcc-structural-oob📝 Commits (2)
5dc8292Fix out-of-bounds read in H.264 SEI parsing82109e6Fix DTVCC structural type confusion and OOB writes (#1961)📊 Changes
2 files changed (+46 additions, -2 deletions)
View changed files
📝
src/lib_ccx/avc_functions.c(+8 -2)📝
src/lib_ccx/ccx_decoders_708.c(+38 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Title:
[FIX] DTVCC: Structural type confusion / OOB writes (#1961)Description:
This PR addresses a critical structural type confusion and out-of-bounds (OOB) write in the DTVCC (CEA-708) decoder.
Issue: #1961
Problem:
Malformed or malicious CEA-708 streams could define windows with row/column counts exceeding the maximums. This could lead to:
Fix implemented:
row_countandcol_countindtvcc_handle_DFx_DefineWindow.pen_rowandpen_columnindtvcc_process_characteranddtvcc_handle_SPL_SetPenLocation.dtvcc_window_copy_to_screento reject windows exceeding maximum dimensions.Impact:
Testing:
CCX_DTVCC_MAX_ROWS/COLUMNSare rejected.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.