diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-08-21 03:02:12 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-08-21 16:56:50 (GMT) |
commit | 0de0965c61823186ac61c0d6876d4d77578e5bcc (patch) | |
tree | 81b14f153939f0fee7566406991f44e40685b1e1 /src/H5L.c | |
parent | f0272e4945f047f17043b484db594df131222f1e (diff) | |
download | hdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.zip hdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.tar.gz hdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.tar.bz2 |
Fix issue in H5Lcreate_hard and H5Olink where entire H5VL_loc_params_t structure was passed via varargs
Diffstat (limited to 'src/H5L.c')
-rw-r--r-- | src/H5L.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -578,7 +578,7 @@ H5Lcreate_hard(hid_t cur_loc_id, const char *cur_name, tmp_vol_obj.connector = (vol_obj1 != NULL ? vol_obj1->connector : vol_obj2->connector); /* Create the link */ - if(H5VL_link_create(H5VL_LINK_CREATE_HARD, &tmp_vol_obj, &loc_params2, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, (vol_obj1 ? vol_obj1->data : NULL), loc_params1) < 0) + if(H5VL_link_create(H5VL_LINK_CREATE_HARD, &tmp_vol_obj, &loc_params2, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, (vol_obj1 ? vol_obj1->data : NULL), &loc_params1) < 0) HGOTO_ERROR(H5E_LINK, H5E_CANTCREATE, FAIL, "unable to create hard link") done: |