From 9dd088033537c071725b9a61fd5b519d65ea9f13 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 13 Oct 2014 13:16:32 -0700 Subject: Fix off-by-one in sizing of m_EmbeddedToUnicodes. BUG=421196 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/656463006 --- core/include/fpdfapi/fpdf_resource.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/include') diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h index 937024c94e..7bad01501a 100644 --- a/core/include/fpdfapi/fpdf_resource.h +++ b/core/include/fpdfapi/fpdf_resource.h @@ -480,6 +480,8 @@ protected: #define CIDSET_JAPAN1 3 #define CIDSET_KOREA1 4 #define CIDSET_UNICODE 5 +#define NUMBER_OF_CIDSETS 6 + class CPDF_CIDFont : public CPDF_Font { public: -- cgit v1.2.3