diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-11-17 15:09:06 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-11-17 15:09:06 (GMT) |
commit | ce105fca197c2b93ce0b4a894ba61f17828951d7 (patch) | |
tree | 8f24d29680c0a0f8a033766076877642b1c0d7c3 /release_docs/RELEASE.txt | |
parent | ae48b537c3ea30ded339313b48e6204e0f2a125f (diff) | |
download | hdf5-ce105fca197c2b93ce0b4a894ba61f17828951d7.zip hdf5-ce105fca197c2b93ce0b4a894ba61f17828951d7.tar.gz hdf5-ce105fca197c2b93ce0b4a894ba61f17828951d7.tar.bz2 |
[svn-r19801] Purpose:
Add additional error checking to catch erroneous user input.
Description:
Attempting to retrieve a links's name by index in the case
where the link is external and the file that the object is
located in doesn't exist was causing a segmentation fault
(in production) and an assertion failure (in debug).
The segfault wasn't occuring until the metadata accumulator
attempted a write, so I've added error checking higher in
the pipeline in H5O_protect (where there was previously just
an assert) to catch this. I've also added additional asserts
in the H5F layer where there were none.
Additionally, I added another case to the links.c test to
test that this fails gracefully instead of segfaulting or
asserting out.
Tested:
h5committest and gandalf (mac os x)
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r-- | release_docs/RELEASE.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 174a872..26211b4 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -138,6 +138,9 @@ Bug Fixes since HDF5-1.8.5 Library ------- + - Retrieving a link's name by index in the case where the link is external + and the file that the link refers to doesn't exist will now fail + gracefully rather than cause a segmentation fault. (MAM - 2010/11/17) - Modified metadata accumulator to better track accumulated dirty metadata in an effort to reduce unnecessary I/O in certain situations and to fix some other corner cases which were prone to error. (MAM - 2010/10/15) |