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

CodeQL Pointer Arithmetic #246

Merged

Conversation

martindevans
Copy link
Member

Slightly refactored SafeLLamaGrammarHandle.Create to (try to) solve CodeQL warnings about pointer arithmetic.

…ns it will benefit from bounds checking on the array.
@martindevans martindevans merged commit 66986f1 into SciSharp:master Nov 4, 2023
6 checks passed
@martindevans martindevans deleted the codeql_pointer_arithmetic branch November 4, 2023 16:46
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.

1 participant