mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
MP4 & PS demuxer panics due to out-of-bounds/ underflow #899
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
@cfsmp3 commented on GitHub (Jan 8, 2026):
Please don't open a ticket for these things - PRs are OK, but issues are for users to report problems. If a developer sees a problem he/she just sends a PR.
@THE-Amrit-mahto-05 commented on GitHub (Jan 8, 2026):
@cfsmp3
Got it, thanks for clarifying 👍
I’ll submit fixes directly as PRs and avoid opening issues for developer identified problems.