diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-04 15:15:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-04 15:15:05 +0000 |
commit | 1854a5341e618a03d1a6b1583a4d597a4e2cc64d (patch) | |
tree | a9a3f8fa05e18c991e914b721f4dba98eacdea09 /sw/qa/core | |
parent | e83af92ed96a14bcaa095b3c882de1463fa479ef (diff) |
regression test for CVE-2009-0201-1.doc
Diffstat (limited to 'sw/qa/core')
-rw-r--r-- | sw/qa/core/CVE/CVE-2009-0201-1.doc | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | sw/qa/core/filters-test.cxx | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/core/CVE/CVE-2009-0201-1.doc b/sw/qa/core/CVE/CVE-2009-0201-1.doc Binary files differnew file mode 100644 index 0000000000..bc6182d1d5 --- /dev/null +++ b/sw/qa/core/CVE/CVE-2009-0201-1.doc diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 958223456e..cb13149f60 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -141,6 +141,11 @@ void FiltersTest::testCVEs() m_aPWDURL + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/CVE/CVE-2009-0200-1.doc"))); CPPUNIT_ASSERT_MESSAGE("CVE-2009-0200 regression", bResult == true); + bResult = testLoad(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), + m_aPWDURL + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/CVE/CVE-2009-0201-1.doc"))); + CPPUNIT_ASSERT_MESSAGE("CVE-2009-0201 regression", bResult == true); + bResult = testLoad(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Rich Text Format")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RTF")), m_aPWDURL + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/CVE/CVE-2010-3451-1.rtf"))); |