diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-03 17:48:51 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-03 17:48:51 (GMT) |
commit | 11af96e8677f8d22a3bacb745eee09576fdb9eec (patch) | |
tree | 1372985494999cf48ceb1b397e2f2271e518c85f /src/H5Opublic.h | |
parent | b5a2e7c634b438c3681b8c40c3fd8e9ab7d3e442 (diff) | |
download | hdf5-11af96e8677f8d22a3bacb745eee09576fdb9eec.zip hdf5-11af96e8677f8d22a3bacb745eee09576fdb9eec.tar.gz hdf5-11af96e8677f8d22a3bacb745eee09576fdb9eec.tar.bz2 |
[svn-r13102] Found a bug: shared message list sizes above the maximum were not caught.
Fixed bug and a related one where the number of indexes could be set
above the maximum.
Added tests for both bugs.
Tested on kagiso and smirom.
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r-- | src/H5Opublic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h index 573c3ec..4d4e59b 100644 --- a/src/H5Opublic.h +++ b/src/H5Opublic.h @@ -59,6 +59,13 @@ #define H5O_MESG_ATTR_FLAG 0x0010 /* Attribute Message. */ #define H5O_MESG_ALL_FLAG (H5O_MESG_SDSPACE_FLAG | H5O_MESG_DTYPE_FLAG | H5O_MESG_FILL_FLAG | H5O_MESG_PLINE_FLAG | H5O_MESG_ATTR_FLAG) +/* Maximum shared message values. Number of indexes is 8 to allow room to add + * new types of messages. + */ +/* JAMES: make these H5O* */ +#define H5SM_MAX_NINDEXES 8 +#define H5SM_MAX_LIST_ELEMS 5000 + /*******************/ /* Public Typedefs */ /*******************/ |