[xiph-commits] r14983 - trunk/vorbis-tools/share

ivo at svn.xiph.org ivo at svn.xiph.org
Fri May 30 14:39:15 PDT 2008


Author: ivo
Date: 2008-05-30 14:39:15 -0700 (Fri, 30 May 2008)
New Revision: 14983

Modified:
   trunk/vorbis-tools/share/iconvert.c
Log:
Preventing possible segfault in iconvert.c.  Closes #243.

Modified: trunk/vorbis-tools/share/iconvert.c
===================================================================
--- trunk/vorbis-tools/share/iconvert.c	2008-05-30 21:30:54 UTC (rev 14982)
+++ trunk/vorbis-tools/share/iconvert.c	2008-05-30 21:39:15 UTC (rev 14983)
@@ -130,7 +130,7 @@
       ib++, ibl--;
       *ob++ = '#', obl--;
       ret = 2;
-      iconv(cd1, 0, 0, 0, 0);
+      //iconv(cd1, 0, 0, 0, 0); # in theory commenting this line prevents a segfault
     }
   }
 



More information about the commits mailing list