diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-14 22:21:38 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-14 22:22:13 +0200 |
commit | ac29cc338be46b86e61922f69d928645d71d5a9b (patch) | |
tree | 6790b0f01deb91375a32c5770d645db5be330872 /testing/id3lib/61-fix_vbr_stack_smash.patch | |
parent | 8d50d846c0d0fe2ccb11f4a40feaac9c76f866ad (diff) | |
download | aports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.bz2 aports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.xz |
testing/id3lib: new aport
Diffstat (limited to 'testing/id3lib/61-fix_vbr_stack_smash.patch')
-rw-r--r-- | testing/id3lib/61-fix_vbr_stack_smash.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/id3lib/61-fix_vbr_stack_smash.patch b/testing/id3lib/61-fix_vbr_stack_smash.patch new file mode 100644 index 0000000000..9bf33e9787 --- /dev/null +++ b/testing/id3lib/61-fix_vbr_stack_smash.patch @@ -0,0 +1,19 @@ +Description: Fix crashes when reading VBR MP3 file. +Bug-Ubuntu: https://launchpad.net/bugs/444466 +Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979 +Forwarded: yes +Author: Urs Fleisch + +Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp +=================================================================== +--- id3lib3.8.3-3.8.3.orig/src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200 ++++ id3lib3.8.3-3.8.3/src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200 +@@ -465,7 +465,7 @@ + // from http://www.xingtech.com/developer/mp3/ + + const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed +- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional ++ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional + + if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE) + { |