summaryrefslogtreecommitdiffstats
path: root/src/H5B2pkg.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2016-02-19 14:53:39 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2016-02-19 14:53:39 (GMT)
commit3e449161fc348f071bbd67253e96840a7585fc25 (patch)
tree732ee44c1872063efe2ffd2cd2ce8b27e3949c59 /src/H5B2pkg.h
parentd44adaf56192bf1fd6b909559dffdfdec04132e7 (diff)
downloadhdf5-3e449161fc348f071bbd67253e96840a7585fc25.zip
hdf5-3e449161fc348f071bbd67253e96840a7585fc25.tar.gz
hdf5-3e449161fc348f071bbd67253e96840a7585fc25.tar.bz2
[svn-r29156] merge 29150 from trunk.
fix for Jira issue 9670 - HDF5 segfaults on corrupted file. Change compare callback in Btree2 class to correctly account for errors. tested on bb-8.
Diffstat (limited to 'src/H5B2pkg.h')
-rw-r--r--src/H5B2pkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h
index 3ea9534..e4a5d1c 100644
--- a/src/H5B2pkg.h
+++ b/src/H5B2pkg.h
@@ -326,7 +326,7 @@ H5_DLL herr_t H5B2_node_size(H5B2_hdr_t *hdr, hid_t dxpl_id,
/* Routines for locating records */
H5_DLL int H5B2_locate_record(const H5B2_class_t *type, unsigned nrec,
- size_t *rec_off, const uint8_t *native, const void *udata, unsigned *idx);
+ size_t *rec_off, const uint8_t *native, const void *udata, unsigned *idx, int *result);
H5_DLL herr_t H5B2_neighbor_internal(H5B2_hdr_t *hdr, hid_t dxpl_id,
unsigned depth, H5B2_node_ptr_t *curr_node_ptr, void *neighbor_loc,
H5B2_compare_t comp, void *udata, H5B2_found_t op, void *op_data);