summaryrefslogtreecommitdiffstats
path: root/hl/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-11-08 17:27:22 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-11-08 17:27:22 (GMT)
commit3b9e13a1b819584c91bfaa134536345a1460f44f (patch)
treeec15921ace74f90c89c989d5e75a970c2c573874 /hl/tools
parent0a7424c7d0664b778be9d75db373793cb2f949c9 (diff)
downloadhdf5-3b9e13a1b819584c91bfaa134536345a1460f44f.zip
hdf5-3b9e13a1b819584c91bfaa134536345a1460f44f.tar.gz
hdf5-3b9e13a1b819584c91bfaa134536345a1460f44f.tar.bz2
TRILAB-82 fix coverity high-impact issues
Diffstat (limited to 'hl/tools')
-rw-r--r--hl/tools/gif2h5/decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c
index 453db12..6668c22 100644
--- a/hl/tools/gif2h5/decompress.c
+++ b/hl/tools/gif2h5/decompress.c
@@ -261,7 +261,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead)
* chain puts its associated output code on the output queue.
*/
while (CurCode > DataMask) {
- if (OutCount > 1024) {
+ if (OutCount >= 1024) {
/*return error message*/
}