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: avoid SIGBUS when reading non-std series segment files (#24509) #24520

Merged
merged 2 commits into from
Dec 19, 2023

Commits on Dec 19, 2023

  1. fix: avoid SIGBUS when reading non-std series segment files (#24509)

    Some series files which are smaller than the standard
    sizes cause SIGBUS in influx_inspect and influxd, because
    entry iteration walks onto mapped memory not backed by the
    the file.  Avoid walking off the end of the file while
    iterating series entries in oddly sized files.
    
    closes #24508
    
    Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
    (cherry picked from commit 969abf3)
    
    closes #24511
    davidby-influx committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    4a89f1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17c4be0 View commit details
    Browse the repository at this point in the history