View Single Post
Old 11th April 2012, 14:42   #139
stromfresser
Junior Member
 
Join Date: Sep 2007
Posts: 23
possible integer overflow

System
Winamp v5.623
Windows 7 Ultimate x64, fully updated

Description
There might be an integer overflow in the "MP3 Stream Info Box" after streaming more than 2^31 bytes = 2 GB of data at once. I checked inbetween: with 1.5 GB it was still okay. No crash or similar occured.

Output
Network received: -2131830878 bytes

Expected output
Network received: 2163136418 bytes

Steps to reproduce
1. Start playing a SHOUTcast online stream.
2. Don't stop for a very long time, stream at least 2 GB of data (took about 50 hours at 96 kbps).
3. Open the "View file info..." box and see the negative signed integer.
stromfresser is offline   Reply With Quote