-
Notifications
You must be signed in to change notification settings - Fork 42
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
heap-buffer-overflow in WildMidi_Open #178
Comments
memcmp() doesn't know how long the mididata buffer is, therefore comparing Requiring at least 18 bytes of midisize before the memcmp() checks should
|
Please do. |
…d if less then 18 bytes of input Fixes bug #178.
Done. Fixed with commit 814f31d |
Only two places with 18: our size check and the memcmp for 'HMI-MIDISONG061595' |
OK |
Hi.
I found a heap-buffer-overflow in wildmidi.
Please confirm.
Thanks.
Summary: heap-buffer-overflow
Browser/OS: Ubuntu 16.04 64bit
Steps to reproduce:
1.Download the .POC files.
2.Compile the source code with ASan or Run wildmidi as valgrind.
3.Execute the following command
: ./wildmidi $PoC -o /dev/null
PoC download : PoC
The text was updated successfully, but these errors were encountered: