mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
libmwaw: add CVE-2017-9433.patch
fixes CVE-2017-9433, patch from upstream git, revision 68b3b74569881248bfb6cbb4266177cc253b292f
This commit is contained in:
parent
c9c7366317
commit
909f87a4c7
2 changed files with 12 additions and 1 deletions
11
srcpkgs/libmwaw/patches/CVE-2017-9433.patch
Normal file
11
srcpkgs/libmwaw/patches/CVE-2017-9433.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/lib/MsWrd1Parser.cxx
|
||||||
|
+++ 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(),'|');
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libmwaw'
|
# Template file for 'libmwaw'
|
||||||
pkgname=libmwaw
|
pkgname=libmwaw
|
||||||
version=0.3.11
|
version=0.3.11
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config doxygen"
|
hostmakedepends="pkg-config doxygen"
|
||||||
makedepends="boost-devel zlib-devel librevenge-devel"
|
makedepends="boost-devel zlib-devel librevenge-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue