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

Fix out of bounds read/writes #186

Merged
merged 4 commits into from
Feb 13, 2024

Commits on Feb 9, 2024

  1. Fix out of bounds read due to negative length

    If the computed literal or match length was greater than
    Integer.MAX_VALUE, the value would overflow to a negative
    and cause a read before the beginning of the buffer.
    martint committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ab246b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Verify length is positive

    martint committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    ce0ebc3 View commit details
    Browse the repository at this point in the history
  2. Add missing bounds checks

    martint committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    3c1c5e2 View commit details
    Browse the repository at this point in the history
  3. Fix bounds checks

    martint committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    f95ac48 View commit details
    Browse the repository at this point in the history