-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-deterministic header and free context #45
Comments
Thanks Christoph! I added this, but still having problems on the wheel with aarch64 and musl. Something else should be happening... |
Re leaks: there are still many potential memory leaks in the c-blosc library. PVS-Studio reports these potential issues, among others, when run on the c-blosc2-2.3.0 code:
|
Yeah, we need to put way more love on fixing these. Fortunately, we have recently got a grant from NumFOCUS for enhancing python-blosc2, so we should be addressing these soon. Thanks for reporting! |
I think it is still useful to keep this open so to keep track of the PVS-Studio suggestions. |
There are two potential issues in the blosc2 Cython extension:
The header written by the
compress2
function is not deterministic because the defaultfilters
andfilters_meta
fields are defined as unordered sets, not ordered sequences.The
compress2
anddecompress2
functions do not free the created contexts.The text was updated successfully, but these errors were encountered: