Skip to content
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

Fixes Heap-use-after-free in Assimp::DXFImporter::ExpandBlockReferences #4644

Merged
merged 2 commits into from Jul 24, 2022

Conversation

sashashura
Copy link
Contributor

Fixes Heap-use-after-free in Assimp::DXFImporter::ExpandBlockReferences revealed by fuzzing:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42899

The root cause is that bl_src.lines and bl.lines in DXFImporter::ExpandBlockReferences may be the same vector. Iterator may become invalid when new objects are pushed into the same vector.

Copy link
Member

@kimkulling kimkulling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine!

@kimkulling kimkulling merged commit 3c253ca into assimp:master Jul 24, 2022
@kimkulling
Copy link
Member

Merged, thanks a lot for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants