-
Notifications
You must be signed in to change notification settings - Fork 179
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
Arithmetic exception: division by zero in ../../../Source/MediaInfo/Audio/File_Aac_GeneralAudio_Sbr.cpp:767 #2107
Comments
Looked into this a little: The division by zero occurs at:
Value of MediaInfoLib/Source/MediaInfo/Audio/File_Usac.cpp Line 5072 in f24a17b
This is because
This is because
So if I understand correctly, any AAC stream with reserved (13/14) or out-of-range sampling frequency index has the potential to cause this division-by-zero crash. |
at line sampling_frequency=Frequency_b/2; it should check whether Frequency_b is zero. |
Fixed by c28ae12. |
Dear maintainers of MediaInfo,
A division with zero bugs was found in MediaInfoLib.
Poc
div_zero.zip
command to run:
Details
GDB output:
ASAN output:
The text was updated successfully, but these errors were encountered: