[FFmpeg-trac] #8226(avfilter:new): A use-after-free bug in formats.c

FFmpeg trac at avcodec.org
Mon Oct 7 14:45:07 EEST 2019


#8226: A use-after-free bug in formats.c
------------------------------------+------------------------------------
             Reporter:  wurongxin   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by wurongxin):

 The possible patch could be inserted after 471 with the following code:

 (*ref)->list = NULL;
 (*ref)->refs = NULL;

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8226#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list