summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-28 03:22:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-28 03:22:12 (GMT)
commitae0ae159563f4d284b4062f0c838f7c91d38f338 (patch)
tree79c055e152a7dfb1452bcd51f65e0b0a96f48a4f /src
parent4c7a64cc7381fe1ad8620c4def738bd7691ef490 (diff)
downloadhdf5-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')
-rw-r--r--src/H5TB.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5TB.c b/src/H5TB.c
index f55400a..37b32eb 100644
--- a/src/H5TB.c
+++ b/src/H5TB.c
@@ -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() */