Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-9047: [Rust] Fix a segfault when setting zero bits in a zero-le…
…ngth bitset. If the mutable bitset is allocated with zero elements it'll have an address that, when accessed, segfaults. Even if the number of bits (n) set is zero, it still reads from this invalid address and things crash. Closes #7360 from maxburke/rust_empty_bitset_fix Authored-by: Max Burke <max@urbanlogiq.com> Signed-off-by: Neville Dipale <nevilledips@gmail.com>
- Loading branch information