diff options
author | Marti Maria <info@littlecms.com> | 2013-05-09 18:28:24 +0400 |
---|---|---|
committer | Marti Maria <info@littlecms.com> | 2013-05-09 18:28:24 +0400 |
commit | d0d5b5123de78cd124a39bdba5a269352ca5585f (patch) | |
tree | 8e4f1599f0785806c729356d60fc46e9fd985d21 /utils/jpgicc | |
parent | b5260acac00687a2c68ee5af470728da366e1493 (diff) |
Arrange last pull request
Diffstat (limited to 'utils/jpgicc')
-rw-r--r-- | utils/jpgicc/iccjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jpgicc/iccjpeg.c b/utils/jpgicc/iccjpeg.c index b542b33..aa96c8b 100644 --- a/utils/jpgicc/iccjpeg.c +++ b/utils/jpgicc/iccjpeg.c @@ -217,7 +217,7 @@ read_icc_profile (j_decompress_ptr cinfo, total_length += data_length[seq_no]; } - if (total_length <= 0) /* total_length is unsigned so why check if it's less than zero? */ + if (total_length <= 0) return FALSE; /* found only empty markers? */ /* Allocate space for assembled data */ |