diff options
Diffstat (limited to 'app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch')
-rw-r--r-- | app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch b/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch deleted file mode 100644 index 4a5c0df922fa..000000000000 --- a/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch +++ /dev/null @@ -1,50 +0,0 @@ -Gentoo-bug: 630682 (CVE-2017-14226) - -Change-Id: I0d8d6887fa360c05d5f9e2a070410c77926b9ce1 -Reviewed-on: https://gerrit.libreoffice.org/42054 -Tested-by: Jenkins <ci@libreoffice.org> -Reviewed-by: Caolán McNamara <caolanm@redhat.com> -Tested-by: Caolán McNamara <caolanm@redhat.com> - ---- a/src/lib/WP5StylesListener.cpp -+++ b/src/lib/WP5StylesListener.cpp -@@ -85,8 +85,9 @@ - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0); - m_currentPage.setPageSpan(1); - -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin(); -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter) -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList(); -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin(); -+ HFiter != headerFooterList.end(); ++HFiter) - { - if ((*HFiter).getOccurrence() != NEVER) - { ---- a/src/lib/WP42StylesListener.cpp -+++ b/src/lib/WP42StylesListener.cpp -@@ -84,8 +84,9 @@ - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0); - m_currentPage.setPageSpan(1); - -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin(); -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter) -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList(); -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin(); -+ HFiter != headerFooterList.end(); ++HFiter) - { - if ((*HFiter).getOccurrence() != NEVER) - { ---- a/src/lib/WP1StylesListener.cpp -+++ b/src/lib/WP1StylesListener.cpp -@@ -83,8 +83,9 @@ - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0); - m_currentPage.setPageSpan(1); - -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin(); -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter) -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList(); -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin(); -+ HFiter != headerFooterList.end(); ++HFiter) - { - if ((*HFiter).getOccurrence() != NEVER) - { |