diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-02-04 07:30:28 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-02-04 07:30:51 +0100 |
commit | 29aef7cf9f081dce8c251f828ca13a0c7479047d (patch) | |
tree | 9df36ce001482b6efa1bf8fad11bfb9238e66a40 /media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch | |
parent | media-sound/grip: Bump to version 3.6.3 (diff) | |
download | gentoo-29aef7cf9f081dce8c251f828ca13a0c7479047d.tar.gz gentoo-29aef7cf9f081dce8c251f828ca13a0c7479047d.tar.bz2 gentoo-29aef7cf9f081dce8c251f828ca13a0c7479047d.zip |
media-sound/grip: Removed old.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch')
-rw-r--r-- | media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch b/media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch deleted file mode 100644 index c826fc6e2e80..000000000000 --- a/media-sound/grip/files/grip-3.3.1-invalid-genre-size.patch +++ /dev/null @@ -1,30 +0,0 @@ -http://bugs.gentoo.org/285105 - ---- grip-3.3.1/src/id3.c -+++ grip-3.3.1/src/id3.c -@@ -252,8 +252,8 @@ - - if ( frames[ i ] ) { - char *c_data = NULL; -- char gen[ 5 ] = "( )"; -- char trk[ 4 ] = " "; -+ char gen[ 6 ] = "( )"; /* max unsigned char: 255 */ -+ char trk[ 3 ] = " "; /* max CDDA tracks: 99 */ - - switch( frameids[ i ] ) { - case ID3FID_TITLE: -@@ -278,12 +278,12 @@ - - case ID3FID_CONTENTTYPE: - c_data = gen; -- sprintf( gen, "(%d)", genre ); /* XXX */ -+ snprintf( gen, 6, "(%d)", genre ); - break; - - case ID3FID_TRACKNUM: - c_data = trk; -- sprintf( trk, "%d", tracknum ); /* XXX */ -+ snprintf( trk, 3, "%d", tracknum ); - break; - - default: |