[FFmpeg-trac] #11032(avformat:closed): Memory Leak Vulnerability in avformat_open_input
FFmpeg
trac at avcodec.org
Sat May 25 21:08:44 EEST 2024
#11032: Memory Leak Vulnerability in avformat_open_input
--------------------------------------+------------------------------------
Reporter: safa karakus | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Changes (by mkver):
* status: new => closed
* resolution: => invalid
Comment:
av_read_frame() expects a blank AVPacket; you forgot to reset said packet
in case avcodec_receive_frame() returns EAGAIN or EOF (your H.264 file has
reordered frames, therefore there is a delay and the decoder does not
immediately return an AVFrame.
And your volatile is completely useless. And don't use Turkish for bug
reports in the future.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11032#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list