github Blosc/c-blosc2 v3.1.5
Release 3.1.5

latest releases: v3.3.2, v3.3.1, v3.3.0...
one month ago

Changes from 3.1.4 to 3.1.5

Fixes

  • Fix decompression of all-zeros buffers whose length is not a multiple
    of typesize. read_chunk_header() previously rejected
    BLOSC2_SPECIAL_ZERO chunks whose nbytes was not a multiple of
    typesize. However, all-zeros decompression is just a memset and
    works regardless of element alignment, so the check was overly strict for
    this case (it remains valid for SPECIAL_NAN, SPECIAL_VALUE, and
    UNINIT, whose callers do enforce alignment). This affected, for
    example, python-blosc2's compress2decompress2 round-trip for
    all-zeros payloads such as bytes(707658) with typesize=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.

Don't miss a new c-blosc2 release

NewReleases is sending notifications on new releases.