[FFmpeg-devel] [PATCH] Fix memory leak in lrcdec.c

Michael Niedermayer michael at niedermayer.cc
Sat Jan 20 02:57:57 EET 2018


On Fri, Jan 19, 2018 at 01:17:07PM -0800, Nikolas Bowe wrote:
> ---
>  libavformat/lrcdec.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c
> index 12f74b22a0..f4e9a4efa9 100644
> --- a/libavformat/lrcdec.c
> +++ b/libavformat/lrcdec.c
> @@ -212,6 +212,7 @@ static int lrc_read_header(AVFormatContext *s)
>      }
>      ff_subtitles_queue_finalize(s, &lrc->q);
>      ff_metadata_conv_ctx(s, NULL, ff_lrc_metadata_conv);
> +    av_bprint_finalize(&line, NULL);
>      return 0;
>  }

How did you find this ?

iam asking because ideally all fuzzing stuff should be run by
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
while currently thats not the case and disk space restrictions
togther with "no shared libs allowed" and a few other things
like one seperate tool for each test make it hard to extend it.
None the less, if some restriction could be lifted or some other
thing could be done to run more complete fuzzing in FFmpeg oss-fuzz
that would be great.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180120/eb80fc38/attachment.sig>


More information about the ffmpeg-devel mailing list