[FFmpeg-trac] #8227(undetermined:closed): A double-free bug in the source file libavfilter/lavfutils.c
FFmpeg
trac at avcodec.org
Mon Oct 7 17:11:29 EEST 2019
#8227: A double-free bug in the source file libavfilter/lavfutils.c
-------------------------------------+-------------------------------------
Reporter: wurongxin | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by mkver):
* status: new => closed
* resolution: => invalid
* component: avfilter => undetermined
Comment:
Using av_packet_unref() after av_packet_unref() is safe, because
av_packet_free_side_data uses av_freep(), i.e. it not only frees the side-
data, but also resets the pointer to said side data (and the counter for
the number of side-data elements).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8227#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list