diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2021-05-26 17:05:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 17:05:24 (GMT) |
commit | ee9d6f514ac163e4739440ab4b0ec70d59a0f7ce (patch) | |
tree | 6fad68bc02d8329a1c7caf687c7e6208ff93dd74 /test/error_test.c | |
parent | 2c5d08d84d40ca7b8063e85e7db51024686ea28f (diff) | |
download | hdf5-ee9d6f514ac163e4739440ab4b0ec70d59a0f7ce.zip hdf5-ee9d6f514ac163e4739440ab4b0ec70d59a0f7ce.tar.gz hdf5-ee9d6f514ac163e4739440ab4b0ec70d59a0f7ce.tar.bz2 |
Use internal version of H5Eprint2 to avoid possible stack overflow (#661)
Diffstat (limited to 'test/error_test.c')
-rw-r--r-- | test/error_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/error_test.c b/test/error_test.c index d1ce00b..cf1e82c 100644 --- a/test/error_test.c +++ b/test/error_test.c @@ -129,7 +129,7 @@ test_error(hid_t file) TEST_ERROR; if (old_data != NULL) TEST_ERROR; - if (old_func != (H5E_auto2_t)H5Eprint2) + if (old_func == NULL) TEST_ERROR; if (H5Eset_auto2(H5E_DEFAULT, NULL, NULL) < 0) |