diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-10 15:19:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-10 15:19:19 (GMT) |
commit | 5f2b8eee135acaa09d5b6686e1abf472eb97ecc1 (patch) | |
tree | dbcfe97fc4bf475643229afc8eb35cc56fb80fae /src | |
parent | c6d6257ba2652d0a7f09def693a23e5f7e126327 (diff) | |
download | hdf5-5f2b8eee135acaa09d5b6686e1abf472eb97ecc1.zip hdf5-5f2b8eee135acaa09d5b6686e1abf472eb97ecc1.tar.gz hdf5-5f2b8eee135acaa09d5b6686e1abf472eb97ecc1.tar.bz2 |
[svn-r5560] Purpose:
Bug Fix for bug #789
Description:
Creating a 1-D dataset region reference caused the library to hang (go into
an infinite loop).
Solution:
Corrected algorithm for serializing hyperslab regions.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Shyper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index 1d92137..1d14592 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -5152,6 +5152,8 @@ H5S_hyper_select_serialize (const H5S_t *space, uint8_t *buf) temp_dim--; } /* end while */ } /* end if */ + else + break; /* Break out now, for 1-D selections */ /* Re-compute offset array */ for(i=0; i<ndims; i++) { |