Ticket #21347: id3lib-vbr-overflow.patch
File id3lib-vbr-overflow.patch, 504 bytes (added by macports@…, 15 years ago) |
---|
-
mp3_parse.cpp
old new 465 465 // from http://www.xingtech.com/developer/mp3/ 466 466 467 467 const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed 468 const size_t VBR_HEADER_MAX_SIZE = 1 16; // frames, bytes, toc and scale are optional468 const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional 469 469 470 470 if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE) 471 471 {