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(logstash source): Fix typo causing a panic on short requests #21286

Merged
merged 2 commits into from
Sep 13, 2024

Commits on Sep 12, 2024

  1. fix(logstash source): Fix typo causing a panic on short requests

    The sources mistakenly check the original request instead of the current offset
    to ensure there are enough bytes left when extracting integers in two places.
    This can cause a panic in the `bytes::Buf` code if requests are cut off in the
    middle of those integers.
    bruceg committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6d24dee View commit details
    Browse the repository at this point in the history
  2. Fix clippy lints

    bruceg committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9d4cf7e View commit details
    Browse the repository at this point in the history