Skip to content
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

[MV-1799][FIX] ECF Filter bugfix of segfault when **buff==NULL used #5

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

aanwari-psee
Copy link
Contributor

In the file sdk/modules/driver/cpp/3rdparty/hdf5_ecf/ecf_h5filter.h I have found a bug when using the function param **void buf in H5Z_filter_ecf(...) . The implementation of functor H5Z_func_t does not explicitly have a safeguard which protects **void buf == NULL meaning that when a call like: H5Z_filter_ecf(..., NULL) occurs and you perform this operation in H5Z_filter_ecf : inbuf = *buf; you will get a segfault.

@aanwari-psee aanwari-psee self-assigned this Jan 22, 2024
@aanwari-psee aanwari-psee merged commit f513f1a into main Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants