Security fixes: null key guard, allocation overflow protection, parser depth limit

Co-authored-by: syoyo <18676+syoyo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-17 16:02:25 +00:00
parent 5aaa3e4daf
commit f6c71cf88b
2 changed files with 35 additions and 9 deletions

8
.gitignore vendored
View File

@@ -70,10 +70,8 @@ tests/tester
tests/tester_noexcept
tests/issue-97.gltf
tests/issue-261.gltf
tests/issue-495-external.gltf
# Test-generated output files (written by tester.cc during test run)
tests/ *.gltf
tests/ *.bin
tests/ *.png
tests/Cube.gltf
tests/Cube.bin
tests/Cube.glb
@@ -81,8 +79,10 @@ tests/Cube_BaseColor.png
tests/Cube_MetallicRoughness.png
tests/Cube_with_embedded_images.gltf
tests/Cube_with_image_files.gltf
tests/issue-495-external.gltf
tests/tmp.glb
tests/ issue-236.gltf
tests/ issue-236.bin
tests/ 2x2 image has multiple spaces.png
# unignore
!Makefile