summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-03-24 17:13:26 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-03-24 17:13:26 (GMT)
commit08d0edb920ae93f4d2494831479ad6200ff208b5 (patch)
tree226266761dc3b36ab5608ccada6a096184a51326 /src/H5Fprivate.h
parent37a019593a4b6e2ab76eab140e3c66fff2625d23 (diff)
downloadhdf5-08d0edb920ae93f4d2494831479ad6200ff208b5.zip
hdf5-08d0edb920ae93f4d2494831479ad6200ff208b5.tar.gz
hdf5-08d0edb920ae93f4d2494831479ad6200ff208b5.tar.bz2
[svn-r26556] Merge the fix for HDFFV-9173 from trunk to 1_8:
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 80266fd..d8014c1 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -428,6 +428,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 */
/* Macros to define signatures of all objects in the file */