Index: fpdfsdk/src/fpdfview_embeddertest.cpp |
diff --git a/fpdfsdk/src/fpdfview_embeddertest.cpp b/fpdfsdk/src/fpdfview_embeddertest.cpp |
index 3147c01660ee2102b877787aac5a1fe118b4cde8..670c640668c65edca6dcf944cc061d8fd96b38d2 100644 |
--- a/fpdfsdk/src/fpdfview_embeddertest.cpp |
+++ b/fpdfsdk/src/fpdfview_embeddertest.cpp |
@@ -227,4 +227,9 @@ TEST_F(FPDFViewEmbeddertest, Hang_343) { |
// dictionary will not cause an infinite loop in CPDF_SyntaxParser::GetObject(). |
TEST_F(FPDFViewEmbeddertest, Hang_344) { |
EXPECT_FALSE(OpenDocument("bug_344.pdf")); |
+} |
+ |
+// The test should pass even when the file has circular references to pages. |
+TEST_F(FPDFViewEmbeddertest, Hang_360) { |
+ EXPECT_FALSE(OpenDocument("bug_360.pdf")); |
} |