Commit 67b3d5a
fix(encoding): backport corruption-safety fixes to release/v9.0 (#8158)
Backport the corruption-safety fixes from:
- #8138: #8138
- #8144: #8144
The v9.0 stable line still reaches the vulnerable VariableFullZip
length-prefix parser and unchecked variable-width offset paths through
the default reader.
Release-specific adaptation: use the v9.0 error-construction and
asynchronous reader APIs; retain one native truncated-prefix regression
plus native V2.1/V2.2/V2.3 reader coverage, without main-only lazy/RLE
scaffolding.
Validation:
- cargo fmt --all
- Targeted lance-encoding/lance-file corruption regression tests: passed
- cargo clippy --all --tests --benches -- -D warnings: passed
---------
Co-authored-by: m00dy <professor.moody@pm.me>1 parent d293630 commit 67b3d5a
4 files changed
Lines changed: 1094 additions & 63 deletions
File tree
- rust
- lance-encoding/src
- encodings
- logical
- physical
- lance-file/src
0 commit comments