strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.53k stars 164 forks source link

Fix integer overflow in free space bar #1457

Closed whatwareweb closed 2 weeks ago

whatwareweb commented 3 weeks ago

This fixes a bug in the free space bar. If more songs were added to a device than the device had storage capacity for, there would be an integer underflow and it would show that the device had an incorrect amount of storage available as in the picture. image This fix checks for that condition and replaces it as shown in this picture image

whatwareweb commented 3 weeks ago

OK it's fixed.