summaryrefslogtreecommitdiffstats
path: root/examples/h5_crtgrpar.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2020-07-05 21:15:28 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2020-07-05 21:15:28 (GMT)
commitbf3ef96e9d5a28e824d7e89b5af590b61f530944 (patch)
tree4f92d9bd0dc4430e586a1ce7ab937059a0229a8c /examples/h5_crtgrpar.c
parent37f6de1b3037a2b7a569c2edb08f58f8ba323af0 (diff)
downloadhdf5-bf3ef96e9d5a28e824d7e89b5af590b61f530944.zip
hdf5-bf3ef96e9d5a28e824d7e89b5af590b61f530944.tar.gz
hdf5-bf3ef96e9d5a28e824d7e89b5af590b61f530944.tar.bz2
Fix HDFFV-10591
Description: h52gif produced a segfault when a buffer overflow occurred because the data size was corrupted and became very large. This commit added a check on the data size against the buffer size to prevent the segfault. It also added error reporting to h52gif to display an error message instead of silently exiting when the failure occurred. Platforms tested: Linux/64 (jelly)
Diffstat (limited to 'examples/h5_crtgrpar.c')
0 files changed, 0 insertions, 0 deletions