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

Verify meta layers aren't recursive to any depth #1622

Conversation

charles-lunarg
Copy link
Collaborator

By keeping track of which layers have already been processed, the loader will now catch a recursive meta layers to any arbitrary depth. This prevents stack overflows in verify_meta_layer_component_layers due to the recurive nature of the function.

By keeping track of which layers have already been processed, the loader
will now catch a recursive meta layers to any arbitrary depth. This
prevents stack overflows in verify_meta_layer_component_layers due to
the recurive nature of the function.
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 321318.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2824 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2824 passed.

@charles-lunarg charles-lunarg merged commit eab3603 into KhronosGroup:main Dec 10, 2024
44 checks passed
@charles-lunarg charles-lunarg deleted the catch_arbitrarily_recursive_meta_layers branch December 10, 2024 21:58
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