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

vulkan-loader: Use correct variable in destroy function #12881

Conversation

charles-lunarg
Copy link
Contributor

Commit e17999e "fixed" the settings_fuzzer.c test by cleaning up memory, but did not pass in the correct variable. It would reinterpret a pointer to memory as a loader_layer_list struct, which is all sorts of wrong. It doesn't help that I forcibly cast the memory pointer to the loader_layer_list struct type, causing any warnings to be surpressed.

@DavidKorczynski

2nd tries the charm hopefully.

Commit e17999e "fixed" the settings_fuzzer.c test by cleaning up memory, but
did not pass in the correct variable. It would reinterpret a pointer to memory
as a `loader_layer_list` struct, which is all sorts of wrong. It doesn't help
that I forcibly cast the memory pointer to the loader_layer_list struct type,
causing any warnings to be surpressed.
Copy link

charles-lunarg is either the primary contact or is in the CCs list of projects/vulkan-loader.
charles-lunarg has previously contributed to projects/vulkan-loader. The previous PR was #12870

@DavidKorczynski DavidKorczynski merged commit deebef7 into google:master Dec 26, 2024
16 checks passed
@charles-lunarg charles-lunarg deleted the charles-lunarg/fix_vulkan_loader_enumerate_setting_fuzzer_again branch December 26, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants