diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-08-18 13:04:22 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-08-18 13:04:22 (GMT) |
commit | 79613e38581c8599c1cf7b271a825eb2247d518b (patch) | |
tree | 86bc8549f8ab63dcf86e5a54548d8da99e5f0fb3 | |
parent | a99b7336c791ee1744831df4582c3d47aea61c84 (diff) | |
parent | ede1b9b1dd53caad6dfce8ec7bc4aa7b3dbce62c (diff) | |
download | hdf5-79613e38581c8599c1cf7b271a825eb2247d518b.zip hdf5-79613e38581c8599c1cf7b271a825eb2247d518b.tar.gz hdf5-79613e38581c8599c1cf7b271a825eb2247d518b.tar.bz2 |
Merge pull request #2799 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr2020:hdf5_bmr2020_addrsani_110 to hdf5_1_10
* commit 'ede1b9b1dd53caad6dfce8ec7bc4aa7b3dbce62c':
Fix HDFFV-11101
-rw-r--r-- | src/H5MF.c | 4 | ||||
-rw-r--r-- | test/dsets.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -2674,6 +2674,10 @@ H5MF_settle_raw_data_fsm(H5F_t *f, hbool_t *fsm_settled) HDassert(f->shared); HDassert(fsm_settled); + /* Initialize structs */ + HDmemset(&fsinfo, 0, sizeof(fsinfo)); + HDmemset(&fs_stat, 0, sizeof(fs_stat)); + /* Only need to settle things if we are persisting the free space info * and allocation/deallocation has occurred. */ diff --git a/test/dsets.c b/test/dsets.c index 08555f7..5ce15ac 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -11328,6 +11328,9 @@ test_bt2_hdr_fd(const char *env_h5_driver, hid_t fapl) TESTING("Version 2 B-tree chunk index header flush dependencies handled correctly"); + /* Initialize struct */ + HDmemset(&info, 0, sizeof(info)); + /* Skip this test if SWMR I/O is not supported for the VFD specified * by the environment variable. */ |