assimp icon indicating copy to clipboard operation
assimp copied to clipboard

Bug: Exception handling for reading incorrect test file

Open autofuzzoss opened this issue 4 years ago • 5 comments

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

autofuzzoss avatar Sep 28 '21 23:09 autofuzzoss

Right, here we need to through an exception.

kimkulling avatar Oct 01 '21 06:10 kimkulling

Any updates on this?

tellypresence avatar Apr 15 '25 17:04 tellypresence

@autofuzzoss Is this still a problem?

tellypresence avatar Apr 24 '25 16:04 tellypresence

Closing due to no response to followup

tellypresence avatar Apr 29 '25 03:04 tellypresence

Will track via epic #6128

tellypresence avatar May 01 '25 20:05 tellypresence