Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 86c95bca44436ae3ccee1f76bb453895 > files > 13

gstreamer0.10-ffmpeg-0.10.11-3.2.mga1.src.rpm

Description: fix denial of service and possible code execution via
 malformed file containing svq1 stream
Origin: upstream, http://git.videolan.org/?p=ffmpeg.git;a=commit;h=4931c8f0f10bf8dedcf626104a6b85bfefadc6f2

Index: ffmpeg-0.6/libavcodec/svq1dec.c
===================================================================
--- ffmpeg-0.6.orig/libavcodec/svq1dec.c	2011-12-21 10:46:23.904455335 -0500
+++ ffmpeg-0.6/libavcodec/svq1dec.c	2011-12-21 10:46:30.480455541 -0500
@@ -678,6 +678,7 @@
 #endif
     return result;
   }
+  avcodec_set_dimensions(avctx, s->width, s->height);
 
   //FIXME this avoids some confusion for "B frames" without 2 references
   //this should be removed after libavcodec can handle more flexible picture types & ordering