File ffmpeg-CVE-2020-20451.patch of Package ffmpeg.32491

diff --unified --recursive --text --new-file --color ffmpeg-3.4.2.old/fftools/ffmpeg_opt.c ffmpeg-3.4.2.new/fftools/ffmpeg_opt.c
--- ffmpeg-3.4.2.old/fftools/ffmpeg_opt.c	2021-06-02 15:52:46.102175485 +0800
+++ ffmpeg-3.4.2.new/fftools/ffmpeg_opt.c	2021-06-02 16:23:31.788843563 +0800
@@ -3271,6 +3271,7 @@
         if (ret < 0) {
             av_log(NULL, AV_LOG_ERROR, "Error parsing options for %s file "
                    "%s.\n", inout, g->arg);
+            uninit_options(&o);
             return ret;
         }
 
openSUSE Build Service is sponsored by