[xiph-commits] r15402 - in trunk/vorbis-tools: . vorbiscomment

ivo at svn.xiph.org ivo at svn.xiph.org
Wed Oct 15 15:02:00 PDT 2008


Author: ivo
Date: 2008-10-15 15:01:57 -0700 (Wed, 15 Oct 2008)
New Revision: 15402

Modified:
   trunk/vorbis-tools/CHANGES
   trunk/vorbis-tools/vorbiscomment/vcomment.c
Log:
Fix segfault when using --tag.  Patch by Adam Buchbinder.  Closes #1439

Modified: trunk/vorbis-tools/CHANGES
===================================================================
--- trunk/vorbis-tools/CHANGES	2008-10-15 16:49:17 UTC (rev 15401)
+++ trunk/vorbis-tools/CHANGES	2008-10-15 22:01:57 UTC (rev 15402)
@@ -30,6 +30,7 @@
  * vcut: 64 bit fixes (#1366)
  * vorbiscomment: correct memory allocation (#472)
  * vorbiscomment: validate raw UTF-8 sent to vorbiscomment (#268)
+ * vorbiscomment: fix segfault when using --tag (#1439)
 
 vorbis-tools 1.2.0 -- 2008-02-21
 

Modified: trunk/vorbis-tools/vorbiscomment/vcomment.c
===================================================================
--- trunk/vorbis-tools/vorbiscomment/vcomment.c	2008-10-15 16:49:17 UTC (rev 15401)
+++ trunk/vorbis-tools/vorbiscomment/vcomment.c	2008-10-15 22:01:57 UTC (rev 15402)
@@ -34,7 +34,7 @@
 struct option long_options[] = {
 	{"list",0,0,'l'},
 	{"append",0,0,'a'},
-	{"tag",0,0,'t'},
+	{"tag",required_argument,0,'t'},
 	{"write",0,0,'w'},
 	{"help",0,0,'h'},
 	{"quiet",0,0,'q'}, /* unused */



More information about the commits mailing list