[FFmpeg-trac] #5584(undetermined:new): FFmpeg libraries leak 1MiB memory chunks on corrupt files

FFmpeg trac at avcodec.org
Tue Jun 14 12:13:43 CEST 2016


#5584: FFmpeg libraries leak 1MiB memory chunks on corrupt files
-------------------------------------+-------------------------------------
             Reporter:  mocmaint     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  leak         |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by heleppkes):

 For one thing, if you allocate your own custom AVIO context, you also need
 to free it with avio_close(p), avformat_close_input is not going to do it
 for you (since you allocated it, and thus manage it).

 Otherwise, unless you can provide proper valgrind output with backtraces
 where these buffers are allocated, you really should not expect us to go
 digging for any possible fault somewhere. If it would be a common problem,
 it would've shown up before.

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


More information about the FFmpeg-trac mailing list