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: the index in ggml_vk_host_free could be uninitialized #10331

Closed

Conversation

FirstTimeEZ
Copy link
Contributor

@FirstTimeEZ FirstTimeEZ commented Nov 16, 2024

@0cc4m
Copy link
Collaborator

0cc4m commented Nov 17, 2024

It could be, but in that case buf == nullptr and index is never used, so it doesn't need to be initialized.

@FirstTimeEZ FirstTimeEZ deleted the vulkan-initialize-value branch November 17, 2024 21:07
@FirstTimeEZ FirstTimeEZ restored the vulkan-initialize-value branch November 18, 2024 04:27
@FirstTimeEZ FirstTimeEZ reopened this Nov 18, 2024
@FirstTimeEZ FirstTimeEZ reopened this Nov 18, 2024
@FirstTimeEZ FirstTimeEZ deleted the vulkan-initialize-value branch November 18, 2024 12:11
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