summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-10-27 13:07:34 (GMT)
committerGitHub <noreply@github.com>2021-10-27 13:07:34 (GMT)
commit437c7a7bda6b1a40d6fb529cba595ad0d58441ad (patch)
tree3f74a459c0cfdad8a45a109222da8bbf0ea08015
parent223b3765293852c94b84e5b40c7585ecc5021eaa (diff)
downloadhdf5-437c7a7bda6b1a40d6fb529cba595ad0d58441ad.zip
hdf5-437c7a7bda6b1a40d6fb529cba595ad0d58441ad.tar.gz
hdf5-437c7a7bda6b1a40d6fb529cba595ad0d58441ad.tar.bz2
Merge Fixed HL_test_packet, incorrect length assignment (#1103)
-rw-r--r--hl/test/test_packet_vlen.c4
-rw-r--r--release_docs/RELEASE.txt6
2 files changed, 7 insertions, 3 deletions
diff --git a/hl/test/test_packet_vlen.c b/hl/test/test_packet_vlen.c
index c668a07..6d6bf34 100644
--- a/hl/test/test_packet_vlen.c
+++ b/hl/test/test_packet_vlen.c
@@ -539,8 +539,8 @@ test_VLof_VLtype(void)
HDfprintf(stderr, "Cannot allocate memory for VL data! uu=%u\n", uu);
goto error;
}
- t1->len = vv * 1;
- for (ww = 0; ww < (vv * 1); ww++)
+ t1->len = vv + 1;
+ for (ww = 0; ww < (vv + 1); ww++)
((unsigned int *)t1->p)[ww] = uu * 100 + vv * 10 + ww;
} /* end for */
} /* end for */
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index c81611e..a9354b4 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -391,7 +391,11 @@ Bug Fixes since HDF5-1.8.22
Packet Table APIs:
------------------
- - None
+ - Fixed HL_test_packet, test for packet table vlen of vlen.
+
+ Incorrect length assignment.
+
+ (ADB - 2021/10/14)
Supported Platforms