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

Commits on Nov 4, 2023

  1. Slightly refactored SafeLLamaGrammarHandle.Create to solve CodeQL w…

    …arning about pointer arithmetic.
    martindevans committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    08c29d5 View commit details
    Browse the repository at this point in the history
  2. Using a reference to an array instead of pointer arithmetic. This mea…

    …ns it will benefit from bounds checking on the array.
    martindevans committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    a03fdc4 View commit details
    Browse the repository at this point in the history