#11589: null check for AVSideDataDescriptor* in ffmpeg_enc.c
-------------------------------------+-----------------------------------
             Reporter:  uttam_32472  |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffmpeg
              Version:  7.1          |               Resolution:  wontfix
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by mkver):

 * component:  avcodec => ffmpeg
 * resolution:   => wontfix
 * status:  new => closed

Comment:

 av_frame_side_data_desc() is supposed to have a descriptor for every side
 data type known to lavu. The side data the fftools deal with are created
 by trusted sources, namely our libraries (e.g. libavcodec, libavfilter).
 They are not supposed to create unknown side data types and therefore
 there is no check in ffmpeg_enc.c. The situation for the callers of
 av_frame_side_data_desc() in libavutil is different, as they are not
 supposed to trust their caller's AVFrameSideDataType.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11589#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to