HDFGroup / HDFGroup/hdf5

Returned value from H5I_get_type() is not checked

Open
#4,764 0 comments 0 reactions 1 assignee Claimed by @bmribler View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.