You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when fuzzing the lcms, we found a crash happend in cmsIsCLUT.
In cmsIsCLUT, if the provided UsedDirection is LCMS_USED_AS_INPUT or LCMS_USED_AS_OUTPUT, the TagTable will be assigned with a four-elements array. Whereas when the provided Intent argument greater than four, a overflow as to TabTable will happen, as the following codes show:
Hi,
when fuzzing the lcms, we found a crash happend in
cmsIsCLUT
.In
cmsIsCLUT
, if the providedUsedDirection
isLCMS_USED_AS_INPUT
orLCMS_USED_AS_OUTPUT
, theTagTable
will be assigned with a four-elements array. Whereas when the providedIntent
argument greater than four, a overflow as toTabTable
will happen, as the following codes show:Maybe there needs some checks of
Intent
incmsIsCLUT
? or some constraint description aboutIntent
in doc?The text was updated successfully, but these errors were encountered: