[FFmpeg-trac] #9807(undetermined:new): decryption_key: subsample size exceeds the packet size left

FFmpeg trac at avcodec.org
Sat Jul 2 10:27:18 EEST 2022


#9807: decryption_key: subsample size exceeds the packet size left
-------------------------------------+-------------------------------------
             Reporter:  svnpenn      |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Shuangxi,Li):

 * cc: Shuangxi,Li (added)

Comment:

 The CENC decryption function has a bug,  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.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9807#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list