Content-Length: 250404 | pFad | https://github.com/jpaver/opengametools/pull/50

39 ogt_vox: added check for buffer and chunk size overflow by dougbinks · Pull Request #50 · jpaver/opengametools · GitHub
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

ogt_vox: added check for buffer and chunk size overflow #50

Merged
merged 3 commits into from
Jun 11, 2023

Conversation

dougbinks
Copy link
Collaborator

This PR adds a check for potential buffer_size and chunk size overflow, exiting and returning NULL if this would occur.

This prevents a corrupt .vox file from being generated, which is possible even within the MagicaVoxel 2kx1kx2k visible scene limitations.

@jpaver jpaver merged commit 4cd9067 into jpaver:master Jun 11, 2023
@dougbinks dougbinks deleted the ogt-vox-overflow-pr branch August 1, 2023 09:26
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/jpaver/opengametools/pull/50

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy