summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-08-15 14:23:34 -0700
committerTom Sepez <tsepez@chromium.org>2016-08-15 14:23:34 -0700
commit1018584aeb1d9f44a40b43b2a5ae1a557a3c442d (patch)
treec514ea917a0d20d8565ed119623036d42713c9a5 /BUILD.gn
parent07afc9aad0444ec9c31f338e9409038734b600c0 (diff)
downloadpdfium-1018584aeb1d9f44a40b43b2a5ae1a557a3c442d.tar.xz
[M53] Bound total pixels in JBig2 images to avoid overflows later.
Also make these private to ensure they aren't modified so as to violate the bounds checks applied at creation time. BUG=633002 TBR=thestig@chromium.org Review-Url: https://codereview.chromium.org/2202013002 (cherry picked from commit e21501d9427539828b5d547b9d20a752d06914aa) Review URL: https://codereview.chromium.org/2242363002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 10fe5df332..fd34c49c00 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1463,6 +1463,7 @@ test("pdfium_unittests") {
"core/fpdfdoc/doc_basic_unittest.cpp",
"core/fpdftext/fpdf_text_int_unittest.cpp",
"core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
+ "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
"core/fxcrt/cfx_retain_ptr_unittest.cpp",
"core/fxcrt/fx_basic_bstring_unittest.cpp",
"core/fxcrt/fx_basic_gcc_unittest.cpp",