wok-next view id3lib/stuff/patches/61-fix_vbr_stack_smash.patch @ rev 21352

updated faad2 again (2.8.8 -> 2.9.1)
author Hans-G?nter Theisgen
date Fri Apr 10 07:27:41 2020 +0100 (2020-04-10)
parents
children
line source
1 Description: Fix crashes when reading VBR MP3 file.
2 Bug-Ubuntu: https://launchpad.net/bugs/444466
3 Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979
4 Forwarded: yes
5 Author: Urs Fleisch
7 Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp
8 ===================================================================
9 --- id3lib3.8.3-3.8.3.orig/src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200
10 +++ id3lib3.8.3-3.8.3/src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200
11 @@ -465,7 +465,7 @@
12 // from http://www.xingtech.com/developer/mp3/
14 const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed
15 - const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional
16 + const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional
18 if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE)
19 {