diff options
Diffstat (limited to 'media-sound/id3v2/files/id3v2-0.1.11-alpha.patch')
-rw-r--r-- | media-sound/id3v2/files/id3v2-0.1.11-alpha.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/id3v2/files/id3v2-0.1.11-alpha.patch b/media-sound/id3v2/files/id3v2-0.1.11-alpha.patch new file mode 100644 index 000000000000..9cad2ac3e8e0 --- /dev/null +++ b/media-sound/id3v2/files/id3v2-0.1.11-alpha.patch @@ -0,0 +1,17 @@ +Prevent a segfault on alpha and any other arch that doesn't always get +zero-initialized automatics. Frankly the code in this segment looks +pretty broken to me, but I'm just fixing the segfault... + +07 Feb 2004 agriffis + +--- id3v2.cpp 2004-05-04 20:30:15.000000000 +0200 ++++ id3v2.cpp.alpha 2004-08-29 16:13:08.848513320 +0200 +@@ -423,7 +423,7 @@ + { + // check if there is a total track number and if we only have + // the track number for this file. In this case combine them. +- char *currentTrackNum, *newTrackNum; ++ char *currentTrackNum, *newTrackNum = NULL; + + if (pFrame != NULL) + { |