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.