[FFmpeg-trac] #4961(avformat:closed): Invalid free(); ffio_ensure_seekback (aviobuf.c:829)

FFmpeg trac at avcodec.org
Mon Oct 26 09:28:28 CET 2015


#4961: Invalid free(); ffio_ensure_seekback (aviobuf.c:829)
-------------------------------------+------------------------------------
             Reporter:  minde        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:  invalid
             Keywords:  crash abort  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The API usage is invalid, see the documentation of avio_alloc_context() in
 avio.h:
 {{{
  * Allocate and initialize an AVIOContext for buffered I/O. It must be
 later
  * freed with av_free().
  *
  * @param buffer Memory block for input/output operations via AVIOContext.
  *        The buffer must be allocated with av_malloc() and friends.
 }}}

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


More information about the FFmpeg-trac mailing list