mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-17 11:33:12 +00:00
[PR #1966] fix: Critical Teletext Decoder Vulnerabilities: Out-of-Bounds Read/Write and Loop Overflow #2768
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/1966
State: closed
Merged: No
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Description
Issues Fixed:
tlt_process_pes_packet: minimal size checks on PES header allowed truncated packets to trigger reads past buffer end.data_unit_lencausing a write past buffer end.uint16_twrap-around of the loop index.Fixes Implemented:
ifromuint16_t→uint32_tto avoid wrap-around.data_unit_lento prevent OOB writes.Impact:
Testing:
Issue Reference: #1965