[FFmpeg-trac] #11589(ffmpeg:closed): null check for AVSideDataDescriptor* in ffmpeg_enc.c
FFmpeg
trac at avcodec.org
Thu May 15 17:00:50 EEST 2025
#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
More information about the FFmpeg-trac
mailing list