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

llama-bench : fix NUL terminators in CPU name #9313

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

slaren
Copy link
Collaborator

@slaren slaren commented Sep 4, 2024

The result returned by RegQueryValueExA may be NUL terminated, which then ends as a NUL character in the std::string.

Fixes #9312

@slaren slaren merged commit bdf314f into master Sep 5, 2024
53 checks passed
@slaren slaren deleted the sl/fix-llama-bench-win-cpu-nul branch September 5, 2024 00:19
dsx1986 pushed a commit to dsx1986/llama.cpp that referenced this pull request Oct 29, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: llama-bench csv output truncated
2 participants