Use stdint.h types throughout PDFium.
[pdfium.git] / core / src / fpdfapi / fpdf_parser / fpdf_parser_parser_embeddertest.cpp
index 838c431..882a915 100644 (file)
@@ -13,3 +13,10 @@ TEST_F(FPDFParserEmbeddertest, LoadError_454695) {
   EXPECT_TRUE(OpenDocument("testing/resources/bug_454695.pdf"));
 }
 
+TEST_F(FPDFParserEmbeddertest, Bug_481363) {
+  // Test colorspace object with malformed dictionary.
+  EXPECT_TRUE(OpenDocument("testing/resources/bug_481363.pdf"));
+  FPDF_PAGE page = LoadPage(0);
+  EXPECT_NE(nullptr, page);
+  UnloadPage(page);
+}