Changes from 3.1.4 to 3.1.5
Fixes
- Fix decompression of all-zeros buffers whose length is not a multiple
oftypesize.read_chunk_header()previously rejected
BLOSC2_SPECIAL_ZEROchunks whosenbyteswas not a multiple of
typesize. However, all-zeros decompression is just amemsetand
works regardless of element alignment, so the check was overly strict for
this case (it remains valid forSPECIAL_NAN,SPECIAL_VALUE, and
UNINIT, whose callers do enforce alignment). This affected, for
example, python-blosc2'scompress2→decompress2round-trip for
all-zeros payloads such asbytes(707658)withtypesize=8
(707658 % 8 == 2). A regression test with 9 parametrized cases has
been added. Closes Blosc/python-blosc2#665.
Notes
- This is a maintenance release with no API/ABI changes.