Blosc/python-blosc2

Possible bug in `blosc_decompress`

martaiborra opened this issue · 2 comments

If an empty bytearray is compressed and then decompressed header->blocksize <= 0 || header->blocksize > header->nbytes,
which launches an error in blosc_read_header.
This is seen in the test_bytes_array.py.

Is this active or it has been fixed already?

Ups, it has been fixed.