Skip to content

Add correct double zero check - #5471

Merged
kimkulling merged 2 commits into
masterfrom
kimkulling/fix_integer_overflow_issue-5470
Feb 22, 2024
Merged

kimkulling merged 2 commits into
masterfrom
kimkulling/fix_integer_overflow_issue-5470

Conversation

@kimkulling

Copy link
Copy Markdown
Member

There is an overflow caused by a division by nearly-zero double. This PR shall fix this by checking the animationTime correctly against zero.

@kimkulling
kimkulling merged commit 4d6dd80 into master Feb 22, 2024
@kimkulling
kimkulling deleted the kimkulling/fix_integer_overflow_issue-5470 branch February 22, 2024 12:58
kimkulling added a commit that referenced this pull request Jul 1, 2026
* Add correct double zero check

* Use std::fpclassify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Bug: Issue 64586 in oss-fuzz: assimp:assimp_fuzzer: Integer-overflow in Assimp::FBXExporter::WriteObjects

2 participants