diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-04 15:13:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-04 15:13:30 +0000 |
commit | f01b5e4351717258b58f359fa3af798dcb8efda7 (patch) | |
tree | 1b87c4a98d2ac53f98c38c9a35c8c05857717b0d | |
parent | 2bcd13d4f470262fa421d2a0a107f756625cfaf0 (diff) |
Regression test for CVE-2009-0200
-rw-r--r-- | sw/qa/core/CVE/CVE-2009-0200-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-0200-1.doc b/sw/qa/core/CVE/CVE-2009-0200-1.doc Binary files differnew file mode 100644 index 000000000000..a142fec96b19 --- /dev/null +++ b/sw/qa/core/CVE/CVE-2009-0200-1.doc diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 93b50b60d2c8..958223456eed 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -136,6 +136,11 @@ void FiltersTest::testCVEs() m_aPWDURL + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/CVE/CVE-2007-0245-1.rtf"))); CPPUNIT_ASSERT_MESSAGE("CVE-2007-0245 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-0200-1.doc"))); + CPPUNIT_ASSERT_MESSAGE("CVE-2009-0200 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"))); |