diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-02-12 20:34:17 +0300 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2022-02-12 20:34:17 +0300 |
commit | 1f6a2adbc885b326a8fabe96ac0aa7e73369413c (patch) | |
tree | 65052acab825ee8a017502654762aee65c89eda2 /utils/jpgicc/jpgicc.c | |
parent | c529dd437cc5294ad821de0e48f1aaddce2440ae (diff) |
Fix an out of bounds read
Harmless but nasty, the memory was read and then not used.
Diffstat (limited to 'utils/jpgicc/jpgicc.c')
-rw-r--r-- | utils/jpgicc/jpgicc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jpgicc/jpgicc.c b/utils/jpgicc/jpgicc.c index 16732c5..21b13f7 100644 --- a/utils/jpgicc/jpgicc.c +++ b/utils/jpgicc/jpgicc.c @@ -70,7 +70,7 @@ static struct my_error_mgr { } ErrorHandler; -cmsUInt16Number Alarm[4] = {128,128,128,0}; +cmsUInt16Number Alarm[cmsMAXCHANNELS] = {128,128,128,0}; static |