[xiph-commits] r18428 - trunk/ffmpeg2theora/src

j at svn.xiph.org j at svn.xiph.org
Tue Jun 26 03:17:13 PDT 2012


Author: j
Date: 2012-06-26 03:17:13 -0700 (Tue, 26 Jun 2012)
New Revision: 18428

Modified:
   trunk/ffmpeg2theora/src/avinfo.c
Log:
dont output metadata with invalid characters

Modified: trunk/ffmpeg2theora/src/avinfo.c
===================================================================
--- trunk/ffmpeg2theora/src/avinfo.c	2012-06-25 17:15:16 UTC (rev 18427)
+++ trunk/ffmpeg2theora/src/avinfo.c	2012-06-26 10:17:13 UTC (rev 18428)
@@ -359,6 +359,7 @@
       i+=4;
       continue;
     }
+    if (s[i] < 0) goto error;
     if (s[i] < 128) {
       i++;
       continue;



More information about the commits mailing list