diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2015-03-30 05:28:13 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2015-03-30 05:28:13 (GMT) |
commit | 56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d (patch) | |
tree | b1e0831879ffd166df40d698f5641268efc44d84 /test/hyperslab.c | |
parent | f617eeb78fbc2df5baacc9b0af9a08920a3538d8 (diff) | |
download | hdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.zip hdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.tar.gz hdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.tar.bz2 |
[svn-r26646] Bug fix: HDFFV-8957 h52gif crashes when run against one of our own examples.
Description: h52gif crashed when it was asked to convert a 24bitimage.
Upon viewing the code, it did not prepare to handle images other than 2 dimensions.
It has no concept of multiple planes images. Further examinations showed past attempts
to fix it ended up removed some abilities (-p or multiple planes, animation, ...) have
been removed but documentation was not updated. Even its online help message still
shows -p is an option.
Solution: added protection code to flag errors if input request is not an
8bit image within size limits. (I don't have enough knowledge of the GIF
format to fix this tool. All I did was plugging known bug from crashing the
program.)
Tested: h5committest.
Diffstat (limited to 'test/hyperslab.c')
0 files changed, 0 insertions, 0 deletions