influxdb/cmd/influxd/inspect/verify_seriesfile
davidby-influx 535e86965a
fix: avoid SIGBUS when reading non-std series segment files (#24509) (#24520) (#24521)
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 https://github.com/influxdata/influxdb/issues/24508

Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
(cherry picked from commit 969abf3da2)

closes https://github.com/influxdata/influxdb/issues/24511

(cherry picked from commit 081f95147e)

closes https://github.com/influxdata/influxdb/issues/24512
2023-12-20 09:52:57 -08:00
..
verify_seriesfile.go fix: avoid SIGBUS when reading non-std series segment files (#24509) (#24520) (#24521) 2023-12-20 09:52:57 -08:00
verify_seriesfile_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00