From 1018584aeb1d9f44a40b43b2a5ae1a557a3c442d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 15 Aug 2016 14:23:34 -0700 Subject: [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 . --- BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'BUILD.gn') 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", -- cgit v1.2.3