diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-04-13 16:05:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 16:05:07 (GMT) |
commit | 2aa55e242c5dfe925834e79a508d331cd7eb0793 (patch) | |
tree | 6fafac2b098e476d47936e6c0ca6eb7f86757e80 /java/test/TestH5Eregister.java | |
parent | 70fa97e271ffdfa21b0a57206928c0f9bac89c2b (diff) | |
download | hdf5-2aa55e242c5dfe925834e79a508d331cd7eb0793.zip hdf5-2aa55e242c5dfe925834e79a508d331cd7eb0793.tar.gz hdf5-2aa55e242c5dfe925834e79a508d331cd7eb0793.tar.bz2 |
* Convert asserts to error handling in efl decode (#2709)
The function that decodes external data files object header messages would
call assert() when parsing malformed files, causing applications to crash
when linked against the debug library.
This change converts these assert() calls to HDF5 error checks, so the
messages are sanity checked in both release and debug mode and debug mode
no longer crashes applications.
Also cleaned up some error handling usage and debug checks.
* Free memory on H5O efl decode errors
* Add buffer size checks to efl msg decode
* Add parentheses to math expressions
Fixes GitHub #2605
Diffstat (limited to 'java/test/TestH5Eregister.java')
0 files changed, 0 insertions, 0 deletions