diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-28 03:22:14 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-28 03:22:14 (GMT) |
commit | 5f8a9d5dd27481f422608adfaeb9a860b7ba0f9a (patch) | |
tree | 973f47e37e3f321bc6be2b17c25157d5ecb74238 /src | |
parent | d9235366bb08ae9decd6f7b9d09fd7607e988fb4 (diff) | |
download | hdf5-5f8a9d5dd27481f422608adfaeb9a860b7ba0f9a.zip hdf5-5f8a9d5dd27481f422608adfaeb9a860b7ba0f9a.tar.gz hdf5-5f8a9d5dd27481f422608adfaeb9a860b7ba0f9a.tar.bz2 |
[svn-r8963] Purpose:
Bug fix
Description:
Allow I/O on extendible chunked datasets with (currently) zero-sized
dimensions to proceed harmlessly instead of dumping core on an assertion.
Solution:
Removed assertion and added checks to avoid problem situation in H5TB_end
Platforms tested:
FreeBSD 4.10 (sleipnir) w/ & w/o parallel
Too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r-- | src/H5TB.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1300,11 +1300,11 @@ H5TB_end(H5TB_NODE * root, int side) { FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5TB_end); - assert(root); assert(side==LEFT || side==RIGHT); - while (HasChild(root, side)) - root = root->link[side]; + if(root) + while (HasChild(root, side)) + root = root->link[side]; FUNC_LEAVE_NOAPI(root); } /* end H5TB_end() */ |