Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: Free aes_decrypt to avoid leaking memory

2020-04-01 Thread Michael Niedermayer
On Tue, Mar 31, 2020 at 01:30:22PM -0700, John Rummell wrote: > Thanks. Updated. > > On Tue, Mar 31, 2020 at 5:23 AM Moritz Barsnick wrote: > > > On Mon, Mar 30, 2020 at 15:27:46 -0700, John Rummell wrote: > > > +if (c->aes_decrypt) > > > +av_free(c->aes_decrypt); > > > > av_free()

Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: Free aes_decrypt to avoid leaking memory

2020-03-31 Thread John Rummell
Thanks. Updated. On Tue, Mar 31, 2020 at 5:23 AM Moritz Barsnick wrote: > On Mon, Mar 30, 2020 at 15:27:46 -0700, John Rummell wrote: > > +if (c->aes_decrypt) > > +av_free(c->aes_decrypt); > > av_free() already does the NULL pointer check for you. > > Moritz >

Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: Free aes_decrypt to avoid leaking memory

2020-03-31 Thread Moritz Barsnick
On Mon, Mar 30, 2020 at 15:27:46 -0700, John Rummell wrote: > +if (c->aes_decrypt) > +av_free(c->aes_decrypt); av_free() already does the NULL pointer check for you. Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] libavformat/mov.c: Free aes_decrypt to avoid leaking memory

2020-03-30 Thread John Rummell
Another one found by the Chromium fuzzers. 0001-libavformat-mov.c-Free-aes_decrypt-to-avoid-leaking-.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,