File ffmpeg-CVE-2020-22042.patch of Package ffmpeg.32491
diff --unified --recursive --text --new-file --color ffmpeg-3.4.2.old/fftools/ffmpeg.c ffmpeg-3.4.2.new/fftools/ffmpeg.c
--- ffmpeg-3.4.2.old/fftools/ffmpeg.c 2021-09-27 09:19:05.457058892 +0800
+++ ffmpeg-3.4.2.new/fftools/ffmpeg.c 2021-09-27 09:22:46.605460323 +0800
@@ -498,6 +498,7 @@
}
av_freep(&fg->inputs);
for (j = 0; j < fg->nb_outputs; j++) {
+ avfilter_inout_free(&fg->outputs[j]->out_tmp);
av_freep(&fg->outputs[j]->name);
av_freep(&fg->outputs[j]->formats);
av_freep(&fg->outputs[j]->channel_layouts);