diff options
author | foxit <jun_fang@foxitsoftware.com> | 2014-06-20 16:48:43 -0700 |
---|---|---|
committer | foxit <jun_fang@foxitsoftware.com> | 2014-06-20 16:48:43 -0700 |
commit | 3e4b1bc1ac4eb8372a90f95edd69131e54240976 (patch) | |
tree | 3e73c6a08911fec6621a43907713542c2d808ed2 /core/include | |
parent | d9713f05fdcecab8428d39034c6b84cd0bbd2920 (diff) | |
download | pdfium-3e4b1bc1ac4eb8372a90f95edd69131e54240976.tar.xz |
Stack-buffer-overflow in IccLib_Translate
BUG=382240
R=palmer@chromium.org
Review URL: https://codereview.chromium.org/332143002
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fxcodec/fx_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index e215bb1d79..ac3f71e7bb 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -281,6 +281,7 @@ public: virtual void Translate(FX_LPVOID pTransform, FX_FLOAT* pSrcValues, FX_FLOAT* pDestValues) = 0; virtual void TranslateScanline(FX_LPVOID pTransform, FX_LPBYTE pDest, FX_LPCBYTE pSrc, int pixels) = 0; + virtual void SetComponents(FX_DWORD nComponents) = 0; }; void AdobeCMYK_to_sRGB(FX_FLOAT c, FX_FLOAT m, FX_FLOAT y, FX_FLOAT k, FX_FLOAT& R, FX_FLOAT& G, FX_FLOAT& B); void AdobeCMYK_to_sRGB1(FX_BYTE c, FX_BYTE m, FX_BYTE y, FX_BYTE k, FX_BYTE& R, FX_BYTE& G, FX_BYTE& B); |