mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1801] fix(smptett): replace unsafe string operations with bounds-checked versions #2540
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/1801
State: closed
Merged: Yes
Summary
sprintf,strcpy, andstrcatcalls with bounds-checked versionsChanges
write_stringz_as_smptettsnprintfwithsizeof(str)for timestamp formattingwrite_cc_bitmap_as_smptettsnprintfwithINITIAL_ENC_BUFFER_CAPACITYwrite_cc_buffer_as_smptettfinalandtempmallocbuf_sizeand use throughoutstrcpy/strcatchains withmemcpy/snprintfsnprintffor style tags and color code formattingTest plan
🤖 Generated with Claude Code