diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-04-08 15:17:30 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-04-08 15:17:30 (GMT) |
commit | 837ab64fa733ce7587827380061e4a91b2e07b58 (patch) | |
tree | f22cefec5f2714420b9c949f3facdec0888ff272 /test/tskiplist.c | |
parent | 41cea953dd4a69e4d375265f490b8f8e498bcf76 (diff) | |
download | hdf5-837ab64fa733ce7587827380061e4a91b2e07b58.zip hdf5-837ab64fa733ce7587827380061e4a91b2e07b58.tar.gz hdf5-837ab64fa733ce7587827380061e4a91b2e07b58.tar.bz2 |
[svn-r16696] #1538 (B2) Problems with Dim Scale APIs reported by Mathworks
ISSUE: When some functions are called with an invalid dimension index (for example, greater than the rank of the dataset) the function does not immediately fail, rather asserts down the code.
SOLUTION: added this check for H5DSdetach_scale, H5DSset_label, H5DSget_label (the other functions have this check) . H5DSiterate_scales also added a check for an invalid dimension scale index
TEST: added some test cases with calls to invalid indices
DOCS: Nothing added
Diffstat (limited to 'test/tskiplist.c')
0 files changed, 0 insertions, 0 deletions