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-buffer-overflow READ 1 in Assimp::ObjFileParser::getFace #4838

Merged
merged 3 commits into from Dec 16, 2022

Conversation

sashashura
Copy link
Contributor

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49274

The m_DataIt in void ObjFileParser::getFace is increased in steps m_DataIt += iStep; that may jump over m_DataItEnd and then while (m_DataIt != m_DataItEnd) continues. This leads to out of bounds memory read access.

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, I will merge it.

@kimkulling kimkulling merged commit 5c763f4 into assimp:master Dec 16, 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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants