diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-29 15:56:11 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-29 15:56:11 +0000 |
commit | d570082ad77fa09c6b9f9f3126ee6b44adf046ee (patch) | |
tree | 1e51f7ab5c63fc729319831d28ad9a0ea16b684a /pkgs/applications/audio/id3v2 | |
parent | 65e7754f51f4fde4100d49e2291e5c05daa0b8a5 (diff) | |
download | nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar.gz nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar.bz2 nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar.lz nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar.xz nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.tar.zst nixlib-d570082ad77fa09c6b9f9f3126ee6b44adf046ee.zip |
Fixing id3v2 runtime error (allocation/free error)
svn path=/nixpkgs/trunk/; revision=23514
Diffstat (limited to 'pkgs/applications/audio/id3v2')
-rw-r--r-- | pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch b/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch new file mode 100644 index 000000000000..3222fc7f41c1 --- /dev/null +++ b/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch @@ -0,0 +1,14 @@ +http://sourceforge.net/tracker/index.php?func=detail&aid=1252035&group_id=4193&atid=304193 + +diff -up id3v2-0.1.11/id3v2.cpp~ id3v2-0.1.11/id3v2.cpp +--- id3v2-0.1.11/id3v2.cpp~ 2004-05-04 21:30:15.000000000 +0300 ++++ id3v2-0.1.11/id3v2.cpp 2008-01-03 21:22:02.000000000 +0200 +@@ -423,7 +423,7 @@ int main( int argc, char *argv[]) + { + // 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) + { |