diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-28 03:22:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-28 03:22:12 (GMT) |
commit | ae0ae159563f4d284b4062f0c838f7c91d38f338 (patch) | |
tree | 79c055e152a7dfb1452bcd51f65e0b0a96f48a4f /src/H5TB.c | |
parent | 4c7a64cc7381fe1ad8620c4def738bd7691ef490 (diff) | |
download | hdf5-ae0ae159563f4d284b4062f0c838f7c91d38f338.zip hdf5-ae0ae159563f4d284b4062f0c838f7c91d38f338.tar.gz hdf5-ae0ae159563f4d284b4062f0c838f7c91d38f338.tar.bz2 |
[svn-r8962] 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/H5TB.c')
-rw-r--r-- | src/H5TB.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1285,11 +1285,11 @@ H5TB_end(H5TB_NODE * root, int side) { FUNC_ENTER_NOAPI_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() */ |