From 1f6a2adbc885b326a8fabe96ac0aa7e73369413c Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Sat, 12 Feb 2022 18:34:17 +0100 Subject: Fix an out of bounds read Harmless but nasty, the memory was read and then not used. --- utils/jpgicc/jpgicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/jpgicc') 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 -- cgit v1.2.3