Bug: Exception handling for reading incorrect test file
Describe the bug A bug was found within the assimp. Though it might not be an intended use of the relevant API, the bug can still produce critical issues within a program using assimp. It would be best if the affected logic is checked beforehand. The bug was found with a fuzzer based on the function "ReadFileFromMemory’'. Mistakes or an invalid test file inputs timeout. This may cause problems in the use of libraries
To Reproduce See attached assimp_readme.txt assimp_readme.txt assimp_code.tar.gz
Expected behavior It does not end in an infinite loop state. This can always cause problems when reading an invalid test file. Exception handling is required for reading an invalid test file.
Platform (please complete the following information):
- OS: Ubuntu 18.04
Right, here we need to through an exception.
Any updates on this?
@autofuzzoss Is this still a problem?
Closing due to no response to followup
Will track via epic #6128