mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-17 19:43:50 +00:00
[PR #1729] [MERGED] fix: CEA-708 segmentation faults on MP4 files #2448
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/1729
Author: @hrideshmg
Created: 8/15/2025
Status: ✅ Merged
Merged: 8/18/2025
Merged by: @prateekmedia
Base:
master← Head:cea_708_fixes📝 Commits (2)
db4d2b2fix: CEA-708 segmentation faults on MP4 files1693debchore: fix clippy errors📊 Changes
3 files changed (+6 additions, -4 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
src/lib_ccx/mp4.c(+3 -2)📝
src/rust/lib_ccxr/src/encoder/txt_helpers.rs(+2 -2)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Certain MP4 files under the general category have been segfaulting on the sample platform. The cause was a null pointer dereference in an unsafe rust block here.
The issue was that this particular variable is populated quite late in the MP4 processing chain and hence is sometimes missed. I've modified the code so that its populated right after declaration to fix it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.