[FFmpeg-trac] #7084(avfilter:new): Memory leak in libavfilter/graphparser.c

FFmpeg trac at avcodec.org
Tue Mar 13 19:50:03 EET 2018


#7084: Memory leak in libavfilter/graphparser.c
-------------------------------------+------------------------------------
             Reporter:  Kira         |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  leak         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by Kira):

 I'm terribly sorry about the copyright problem. I'm not a professional
 software developer, so I'm not familiar with the LICENSE stuff. Please
 forgive me about it. If anyone can help me make up for the problem I will
 be very grateful.
 Back to the bug, actually the bug is found during my fuzz. I fuzz the
 second parameter of `avfilter_graph_parse_ptr` which is `filters_descr`. I
 found the leak when `filters_descr` is an invalid value "spectrumsynth".
 The key point is to trigger the error in function `link_filter`. I don't
 know how `ffmpeg` resolves the input. But I think the problem is still
 there. If you really need to reproduce it with `ffmpeg`, maybe I will
 spend a lot of time on it...

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


More information about the FFmpeg-trac mailing list