diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-20 00:21:55 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-20 00:49:16 +0100 |
commit | 3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc (patch) | |
tree | b6821369bbcc8a7116b1b235348d02c487803bbe /app-text/libwpd/files | |
parent | app-text/libmwaw: Drop old (diff) | |
download | gentoo-3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc.tar.gz gentoo-3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc.tar.bz2 gentoo-3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc.zip |
app-text/libwpd: Drop old
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-text/libwpd/files')
-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) - { |