Skip to content

vulkan: Accesses Iterator Before Checking Validity - #23667

Merged
0cc4m merged 1 commit into
ggml-org:masterfrom
winstonma:fix-log-deallocation-iterator
May 28, 2026
Merged

0cc4m merged 1 commit into
ggml-org:masterfrom
winstonma:fix-log-deallocation-iterator

Conversation

@winstonma

@winstonma winstonma commented May 25, 2026 •

Copy link
Copy Markdown
Contributor

Overview

If the key it->second is not in the map, this is undefined behavior. The validity check should come first.

Additional information

Requirements

@winstonma
winstonma requested a review from a team as a code owner May 25, 2026 13:23
@github-actions github-actions Bot added Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels May 25, 2026
@0cc4m
0cc4m merged commit 91eb8f4 into ggml-org:master May 28, 2026
49 of 50 checks passed
turbo-tan pushed a commit to turbo-tan/llama.cpp-tq3 that referenced this pull request Jun 2, 2026
@winstonma
winstonma deleted the fix-log-deallocation-iterator branch June 16, 2026 08:22
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning Vulkan Issues specific to the Vulkan backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants