Returned value from H5I_get_type() is not checked
Open
Component - C Library
HDFG-internal
- Dominant language
- C
- Stars
- 988
- Forks
- 355
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 12
Description
The returned value from H5I_get_type() is not checked in many functions in this kind of statement:
loc_params.obj_type = H5I_get_type(loc_id);
This can potentially cause issues down the road as seen in issue GH-4737.
Contributor guide
Assessment
This issue has not been assessed yet.