Progress bar shows garbage next to time
Bug #234739 reported by
Jean-François Wauthy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gimmix |
Fix Released
|
Medium
|
priyank |
Bug Description
The progress bar shows memory garbage next to the current time position of the played song.
This problem appears when going over the 100th minute of playing indicating an eventual problem of buffer overflow. Looking in the source code I found out that the time string is limited to 15 caracters which is too short for a long track (i.e. 431 minutes).
The solution is simply to allocate a larger string on the stack or to dynamically allocate it on the heap.
To post a comment you must log in.
Fixed in gimmix-svn. Thanks for reporting :)