Home
last modified time | relevance | path

Searched refs:OutputChans (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/lcms/
D0023-upstream-integer-overflow-MPEmatrix_Read.patch72 if (!_cmsReadUInt16Number(io, &OutputChans)) return NULL;
78 + if (OutputChans >= cmsMAXCHANNELS) return NULL;
80 nElems = InputChans * OutputChans;
D0022-check-LUT-and-MPE.patch163 if (!_cmsReadUInt16Number(io, &OutputChans)) return NULL;
166 + if (OutputChans == 0 || OutputChans >= cmsMAXCHANNELS) return NULL;
169 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChans, OutputChans);
D0025-upstream-direct-leak-Type_MPE_Read.patch6 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChans, OutputChans);
D0018-backport-c0a98d86.patch52 … mpe = cmsStageAllocCLutFloatGranular(self ->ContextID, GridPoints, InputChans, OutputChans, NULL);
/external/pdfium/third_party/lcms/src/
Dcmstypes.c4051 cmsUInt16Number InputChans, OutputChans; in Type_MPEcurve_Read() local
4061 if (!_cmsReadUInt16Number(io, &OutputChans)) return NULL; in Type_MPEcurve_Read()
4063 if (InputChans != OutputChans) return NULL; in Type_MPEcurve_Read()
4203 cmsUInt16Number InputChans, OutputChans; in Type_MPEmatrix_Read() local
4209 if (!_cmsReadUInt16Number(io, &OutputChans)) return NULL; in Type_MPEmatrix_Read()
4215 if (OutputChans >= cmsMAXCHANNELS) return NULL; in Type_MPEmatrix_Read()
4217 nElems = InputChans * OutputChans; in Type_MPEmatrix_Read()
4222 … Offsets = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, OutputChans, sizeof(cmsFloat64Number)); in Type_MPEmatrix_Read()
4242 for (i=0; i < OutputChans; i++) { in Type_MPEmatrix_Read()
4255 mpe = cmsStageAllocMatrix(self ->ContextID, OutputChans, InputChans, Matrix, Offsets); in Type_MPEmatrix_Read()
[all …]