Skip to content

Musepack: Fix overflows in SV8 length and bitrate calculation - #811

Merged
Serial-ATA merged 1 commit into
Serial-ATA:mainfrom
StayBlue:fix/musepack-sv8-length-overflow
Dec 3, 2026
Merged

Serial-ATA merged 1 commit into
Serial-ATA:mainfrom
StayBlue:fix/musepack-sv8-length-overflow

Conversation

@StayBlue

@StayBlue StayBlue commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

This fixes a panic when reading properties of a Musepack SV8 file with a very large sample count. The same overflow in the bitrate calculation is also fixed. A reproducible file is also included. Closes #810

Found and fixed with assistance from Claude Code.

@Serial-ATA Serial-ATA added this to the 0.26.0 milestone Dec 2, 2026
@Serial-ATA
Serial-ATA merged commit 21aac82 into Serial-ATA:main Dec 3, 2026
5 checks passed
@StayBlue
StayBlue deleted the fix/musepack-sv8-length-overflow branch December 3, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Musepack: Panic when calculating SV8 length

2 participants