[grip] fixed "_IO_fwrite: Process /usr/bin/grip was killed by signal 11" (#653609)

Adrian Reber adrian at fedoraproject.org
Tue Mar 27 14:13:42 UTC 2012


commit 752f70b151e8a61a10b01e67c2286c5a5bf87bc6
Author: Adrian Reber <adrian at lisas.de>
Date:   Tue Mar 27 16:13:35 2012 +0200

    fixed "_IO_fwrite: Process /usr/bin/grip was killed by signal 11" (#653609)

 grip-3.2.0-id3.c.patch |    9 +++++++++
 grip.spec              |    5 ++++-
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/grip-3.2.0-id3.c.patch b/grip-3.2.0-id3.c.patch
index 71148b0..a2cd5d6 100644
--- a/grip-3.2.0-id3.c.patch
+++ b/grip-3.2.0-id3.c.patch
@@ -10,3 +10,12 @@ diff -Nur grip-3.2.0-orig/src/id3.c grip-3.2.0/src/id3.c
  	char trk[ 4 ] = "   ";
  	
  	switch( frameids[ i ] ) {
+@@ -368,6 +368,8 @@
+   ID3v1Tag tag;
+ 
+   fp=fopen(filename,"a");
++  if(!fp)
++    return FALSE;
+ 
+   ID3Put(tag.tag,"TAG",3,id3_encoding);
+ 
diff --git a/grip.spec b/grip.spec
index 2fc9385..203f492 100644
--- a/grip.spec
+++ b/grip.spec
@@ -1,7 +1,7 @@
 Summary: Front-end for CD rippers and Ogg Vorbis encoders
 Name: grip
 Version: 3.2.0
-Release: 36%{?dist}
+Release: 37%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: Applications/Multimedia
@@ -114,6 +114,9 @@ desktop-file-install \
 %{_mandir}/man1/*
 
 %changelog
+* Tue Mar 27 2012 Adrian Reber <adrian at lisas.de> - 1:3.2.0-37
+- fixed "_IO_fwrite: Process /usr/bin/grip was killed by signal 11" (#653609)
+
 * Tue Mar 27 2012 Adrian Reber <adrian at lisas.de> - 1:3.2.0-36
 - fixed "no rip speed is indicated in the application" (#804180)
 - removed a few warnings


More information about the scm-commits mailing list