Searched refs:nDeviceCoords (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/third_party/lcms/ |
D | 0012-memory-leak-Type_NamedColor_Read.patch | 7 if (nDeviceCoords > cmsMAXCHANNELS) { 8 …cmsSignalError(self->ContextID, cmsERROR_RANGE, "Too many device coordinates '%d'", nDeviceCoords);
|
/external/pdfium/third_party/lcms/src/ |
D | cmstypes.c | 3095 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()
|