summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-01-12 20:31:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-01-12 20:31:59 (GMT)
commit24443da31663e4f0835e8b966470aff6dfb4f0c9 (patch)
tree175bba5c4d2bc6343984d0c79c930b3607a84c0a /tools/testfiles
parent2396a172adc0fca7ad56fe6bd89276903dc8af44 (diff)
downloadhdf5-24443da31663e4f0835e8b966470aff6dfb4f0c9.zip
hdf5-24443da31663e4f0835e8b966470aff6dfb4f0c9.tar.gz
hdf5-24443da31663e4f0835e8b966470aff6dfb4f0c9.tar.bz2
[svn-r28865] HDFFV-9639: Fix double-free error by setting freed var to NULL.
Verified issue with "h5dump tgroup.h5 non_existing.h5" Applied patch and retested.
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/non_existing.ddl31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/testfiles/non_existing.ddl b/tools/testfiles/non_existing.ddl
new file mode 100644
index 0000000..4377f8d
--- /dev/null
+++ b/tools/testfiles/non_existing.ddl
@@ -0,0 +1,31 @@
+HDF5 "tgroup.h5" {
+GROUP "/" {
+ GROUP "g1" {
+ GROUP "g1.1" {
+ }
+ GROUP "g1.2" {
+ }
+ }
+ GROUP "g2" {
+ GROUP "g2.1" {
+ GROUP "g2.1.1" {
+ }
+ GROUP "g2.1.2" {
+ }
+ GROUP "g2.1.3" {
+ }
+ }
+ }
+ GROUP "g3" {
+ GROUP "g3.1" {
+ }
+ GROUP "g3.2" {
+ }
+ GROUP "g3.3" {
+ }
+ GROUP "g3.4" {
+ }
+ }
+}
+}
+h5dump error: unable to open file "non_existing.h5"