[libmwaw] 01/02: apply upstream patch to fix CVE-2017-9433 (closes: #864366)

Rene Engelhard rene at moszumanska.debian.org
Wed Jun 7 20:17:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch jessie
in repository libmwaw.

commit c3864be289ae3a4db32e10357fb05def43d5c34b
Author: Rene Engelhard <rene at debian.org>
Date:   Wed Jun 7 21:50:41 2017 +0200

    apply upstream patch to fix CVE-2017-9433 (closes: #864366)
---
 debian/patches/CVE-2017-9433.diff | 11 +++++++++++
 debian/patches/series             |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/CVE-2017-9433.diff b/debian/patches/CVE-2017-9433.diff
new file mode 100644
index 0000000..518d93c
--- /dev/null
+++ b/debian/patches/CVE-2017-9433.diff
@@ -0,0 +1,11 @@
+--- a/src/lib/MsWrd1Parser.cxx
++++ b/src/lib/MsWrd1Parser.cxx
+@@ -902,7 +902,7 @@
+     int id = fIt++->second;
+     fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first;
+     if (id >= int(m_state->m_footnotesList.size()))
+-      m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0));
++      m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0));
+     m_state->m_footnotesList[size_t(id)]=fPos;
+   }
+   ascii().addDelimiter(input->tell(),'|');
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e7cd88d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+CVE-2017-9433.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libmwaw.git



More information about the Pkg-openoffice-commits mailing list