Home
last modified time | relevance | path

Searched refs:nDeviceCoords (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms/
D0012-memory-leak-Type_NamedColor_Read.patch7 if (nDeviceCoords > cmsMAXCHANNELS) {
8 …cmsSignalError(self->ContextID, cmsERROR_RANGE, "Too many device coordinates '%d'", nDeviceCoords);
/external/pdfium/third_party/lcms/src/
Dcmstypes.c3095 cmsUInt32Number nDeviceCoords; // Num of device coordinates in Type_NamedColor_Read() local
3105 if (!_cmsReadUInt32Number(io, &nDeviceCoords)) return NULL; in Type_NamedColor_Read()
3112 v = cmsAllocNamedColorList(self ->ContextID, count, nDeviceCoords, prefix, suffix); in Type_NamedColor_Read()
3118 if (nDeviceCoords > cmsMAXCHANNELS) { in Type_NamedColor_Read()
3119 …cmsSignalError(self->ContextID, cmsERROR_RANGE, "Too many device coordinates '%d'", nDeviceCoords); in Type_NamedColor_Read()
3133 if (!_cmsReadUInt16Array(io, nDeviceCoords, Colorant)) goto Error; in Type_NamedColor_Read()