mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-19 04:22:49 +00:00
[PR #2046] fix(rust): harden ccxr_process_cc_data against excessive cc_count #2857
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/2046
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):
{pull request content here}
Summary
Adds a defensive upper bound on
cc_countinccxr_process_cc_datato preventexcessive allocations or misuse at the FFI boundary.
Details
cc_countexceeds a sane limit