diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-13 16:27:27 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-13 16:27:27 (GMT) |
commit | 943b7f9c0276b225b93287227a8c31dc556666b7 (patch) | |
tree | 4962bfcf4e292f6fd462b435e6f4799e1f8fb0b7 /src | |
parent | ad6de59e4c412545ade72269907c73fcdd85187e (diff) | |
parent | 1dd81af5a28125a3a6c5e12f28e3c95458efb0f1 (diff) | |
download | hdf5-943b7f9c0276b225b93287227a8c31dc556666b7.zip hdf5-943b7f9c0276b225b93287227a8c31dc556666b7.tar.gz hdf5-943b7f9c0276b225b93287227a8c31dc556666b7.tar.bz2 |
Merge branch 'develop' into dset_ohdr_minimize
Diffstat (limited to 'src')
-rw-r--r-- | src/H5A.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1046,6 +1046,8 @@ H5Aget_info(hid_t attr_id, H5A_info_t *ainfo) /* Check arguments */ if(NULL == (vol_obj = (H5VL_object_t *)H5I_object_verify(attr_id, H5I_ATTR))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not an attribute") + if(!ainfo) + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "attribute_info parameter cannot be NULL") loc_params.type = H5VL_OBJECT_BY_SELF; loc_params.obj_type = H5I_get_type(attr_id); |