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

Fix invalid read of uint from uvwsrc #5282

Merged
merged 3 commits into from
Nov 14, 2023
Merged

Conversation

JulianKnodt
Copy link
Contributor

Previously was reading a uint, which always failed. Since the output was never checked, this seemed to work, and works fine for most models since they only use UV channel 0.

Previously was reading a uint, which always failed. Since the output was never checked, this
seemed to work, and works fine for most models since they only use UV channel 0.
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, is there a model to test this?

@JulianKnodt
Copy link
Contributor Author

Let me find one, I think I cannot release the one I've been testing with

@JulianKnodt
Copy link
Contributor Author

image

sphere_two_uv.zip

I had to zip it because github apparently doesn't support just uploading raw glb files?

@kimkulling kimkulling merged commit 9efbbe0 into assimp:master Nov 14, 2023
11 checks passed
@kimkulling
Copy link
Member

Merged, thanks a lot dor your contribution.

@JulianKnodt JulianKnodt deleted the uvwsrc_read branch November 14, 2023 17:44
@JulianKnodt
Copy link
Contributor Author

@kimkulling out of curiosity, do you manually verify these changes yourself? Is there automated testing within Assimp?

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.

None yet

2 participants