Check the number of component in ICCBased colorspace
authorBo Xu <bo_xu@foxitsoftware.com>
Fri, 22 Aug 2014 17:30:10 +0000 (10:30 -0700)
committerBo Xu <bo_xu@foxitsoftware.com>
Fri, 22 Aug 2014 17:30:10 +0000 (10:30 -0700)
commitee6088e63bfdee81153ef1eeec9b90e42c87064f
treeced0be7501eb2ca00b4c9314a29500128bbd435c
parent4fb24f37072ebe6bac88ef5c56a7bbcb444c8aec
Check the number of component in ICCBased colorspace

From PDF reference 8.6.5.5, this could only be 1, 3 or 4.

BUG=387968
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/464083003
core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp