[FFmpeg-devel] [PATCH] avformat/mov: h264 cenc entryption file decryption_key failed

lishuangxi lishuangxi at huawei.com
Sat Jul 9 09:55:28 EEST 2022


Please help review it, thanks.
	Code  process
		-- Fixes ticket #9807.
        -- Fixes ticket #9777.
	In the funciton cenc_scheme_decrypt,Partially_encrypted_block_size may be a negative value. Therefore, a core dump occurs when memcpy(block, partially_encrypted_block, partially_encrypted_block_size)  is executed.
	For cenc(AES-CTR scheme) , The last Blocks in Sample less than 16 bytes to illustrate that CTR mode allows encryption of partial cipher blocks.	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-mov-h264-cenc-entryption-file-decryption_ke.patch
Type: application/octet-stream
Size: 3024 bytes
Desc: 0001-avformat-mov-h264-cenc-entryption-file-decryption_ke.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220709/edb7180f/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220709/edb7180f/attachment.txt>


More information about the ffmpeg-devel mailing list