Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAV File with maximum filesize (FFFFFFFF) hangs Beep playback #160

Open
ms140569 opened this issue Mar 27, 2023 · 1 comment
Open

WAV File with maximum filesize (FFFFFFFF) hangs Beep playback #160

ms140569 opened this issue Mar 27, 2023 · 1 comment

Comments

@ms140569
Copy link

Hi,

Supplying to the Beep library a WAV File with an unlimited Filesize (FFFFFFFF) at byte offset 0x4 and 0x134 hangs the playback. One needs to kill the whole process. While an unlimited filesize might be not a valid WAV-File (although Mac Finder plays the file fine) and should be therefore rejected it should not hang the library in any case. Drop me a line if you want to fix this and need a sample.

Cheers, Matthias

@MarkKremer
Copy link
Contributor

I may want to play with this a bit. May or may not result in a fix.

Could you provide me with the invalid WAV file?

Also, what's at byte offset 0x134? I don't think the file size at offset 0x4 is used by the decoder.

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

No branches or pull requests

2 participants