mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 05:25:44 +00:00
MP4 & PS demuxer panics due to out-of-bounds/ underflow #896
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?
Originally created by @THE-Amrit-mahto-05 on GitHub (Jan 7, 2026).
Description
The demuxer’s stream detection logic can panic when processing certain malformed or very small media files.
PS probing underflow:
ctx.startbytes_avail - 3underflows.MP4 box validation out-of-bounds:
buffer[position + 12..14]to panic.This can crash CCExtractor during normal demuxing.
Steps to Reproduce
Expected Behavior