summaryrefslogtreecommitdiffstats
path: root/test/vds_swmr_gen.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-04-03 18:06:36 (GMT)
committerGitHub <noreply@github.com>2023-04-03 18:06:36 (GMT)
commit1c1af33a126e66640c2c2f100f743bd8b8fc07da (patch)
tree9bf0b0e6cf2e204bf369de2af12ffbd8f75f8e34 /test/vds_swmr_gen.c
parent7b426bf3ea01e485f340a7119210136233aa8d29 (diff)
downloadhdf5-1c1af33a126e66640c2c2f100f743bd8b8fc07da.zip
hdf5-1c1af33a126e66640c2c2f100f743bd8b8fc07da.tar.gz
hdf5-1c1af33a126e66640c2c2f100f743bd8b8fc07da.tar.bz2
Fix memory leaks and aborts in H5O EFL decode (#2656)
* Convert asserts to error handling in efl decode 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 'test/vds_swmr_gen.c')
0 files changed, 0 insertions, 0 deletions