summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-11-17 15:08:33 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-11-17 15:08:33 (GMT)
commit39e39746286dcb31adec94fbde0345587594cefd (patch)
tree7a50eb19bb721ee9f822234b1b22861498e8e045 /release_docs
parentc249ccfd1502c428b820d6316a5cf7a0a9d5ca82 (diff)
downloadhdf5-39e39746286dcb31adec94fbde0345587594cefd.zip
hdf5-39e39746286dcb31adec94fbde0345587594cefd.tar.gz
hdf5-39e39746286dcb31adec94fbde0345587594cefd.tar.bz2
[svn-r19798] 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')
-rw-r--r--release_docs/RELEASE.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 35854bf..1d17c4e 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -249,6 +249,10 @@ Bug Fixes since HDF5-1.8.0 release
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 library to always cache symbol table information. Libraries
version 1.6.3 have a bug which causes them to require this
information for some operations. (NAF - 2010/09/21 - 1864)