summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-03-20 22:37:17 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-03-20 22:37:17 (GMT)
commit4de770788fd2e0d751944d7a8378778f64a72083 (patch)
tree3c8d5e751b915b45b6535ce8a5677f8a2c610d32 /src/H5Fprivate.h
parent23afd1054486ff752e620f7596d3b4725e14f6fe (diff)
downloadhdf5-4de770788fd2e0d751944d7a8378778f64a72083.zip
hdf5-4de770788fd2e0d751944d7a8378778f64a72083.tar.gz
hdf5-4de770788fd2e0d751944d7a8378778f64a72083.tar.bz2
[svn-r26514] Fix for HDFFV-9173:
H5Pset_istore_k() will validate the "ik" value to not exceed the max v1 btree entries (2 bytes) The same check for H5Pset_sym_k() "ik" value. h5committested.
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index fe81edc..4cd8c69 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -488,6 +488,8 @@
if it is changed, the code
must compensate. -QAK
*/
+#define HDF5_BTREE_IK_MAX_ENTRIES 65536 /* 2^16 - 2 bytes for storing entries (children) */
+ /* See format specification on version 1 B-trees */
/* Default file space handling strategy */
#define H5F_FILE_SPACE_STRATEGY_DEF H5F_FILE_SPACE_ALL