Win32 Port

Indy Sams indy at driftsolutions.com
Tue Jun 20 22:27:37 CEST 2006


Hello Andrew & The Rest of the List,
 
This error seems to be in mpegfile.cpp in function:
long MPEG::File::nextFrameOffset(long position)
 
This line was allowing i to access an index past the end of the buffer
for(uint i = 0; i < buffer.size()); i++) {
 
The fix:
for(uint i = 0; i < (buffer.size() - 1); i++) {
 
As long as that doesn't break anything else that should fix the problem. (Confirmed on the MP3 that was crashing for Andrew)

Sorry for that last email, I didn't tell my client to use HTML mode.

Best regards, 
 Indy Sams
 mailto:indy at driftsolutions.com
 
 P.S. This is what part of the alphabet would look like if Q & R were eliminated.



More information about the taglib-devel mailing list