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

[rmodels] Fix null pointer dereference in LoadImageFromCgltfImage #4557

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

CalebHeydon
Copy link
Contributor

This fixes a null pointer dereference when loading a texture from a GLB file. The fix is just to check if the buffer_view is NULL before checking if the data pointer is NULL.

@raysan5 raysan5 merged commit 9047630 into raysan5:master Dec 1, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Dec 1, 2024

@CalebHeydon thank for the review

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.

2 participants