-
Now the functions that execute Blosc decompressions are safe by default
for untrusted/possibly corrupted inputs. The additional checks seem to
not affect performance significantly (see some benchmarks in #258), so
this is why they are the default now.The previous functions (with less safety) checks are still available with a
'_unsafe' suffix. The complete list is:- blosc_decompress_unsafe()
- blosc_decompress_ctx_unsafe()
- blosc_getitem_unsafe()
Also, a new API function named blosc_cbuffer_validate(), for validating Blosc
compressed data, has been added.For details, see PR #258. Thanks to Jeremy Maitin-Shepard.
-
Fixed a bug in
blosc_compress()that could lead to thread deadlock under
some situations. See #251. Thanks to @wenjuno for the report and the fix. -
Fix data race in shuffle.c host_implementation initialization. Fixes #253.
Thanks to Jeremy Maitin-Shepard.