summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-gc
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2009-09-13 03:54:13 +0000
committerhira <hira@pkgsrc.org>2009-09-13 03:54:13 +0000
commitd9854555886d5124347e6003f61964f53cc6636b (patch)
tree8ff19d8c85252a6725a90eb22d902a82f6c9040e /misc/openoffice2/patches/patch-gc
parent3cf21f9dfd41c64024da0f2480dd7208d209c41f (diff)
downloadpkgsrc-d9854555886d5124347e6003f61964f53cc6636b.tar.gz
Update to 2.4.3. This is bug fix release. It fixes the following
security vulnerabilities. * CVE-2009-0200/CVE-2009-0201: Manipulated Microsoft Word files can lead to heap overflows and arbitrary code execution * CVE-2009-2414/CVE-2009-2416: Manipulated XML documents can lead to arbitrary code execution Release notes: http://development.openoffice.org/releases/2.4.3.html - Fix getline() problem (patches from misc/openoffice3/patches). - Use internal neon (9 patches are required to use external neon). - Use internal openssl for internal neon. - Disable VBA extension (enabling this causes build error).
Diffstat (limited to 'misc/openoffice2/patches/patch-gc')
-rw-r--r--misc/openoffice2/patches/patch-gc25
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/openoffice2/patches/patch-gc b/misc/openoffice2/patches/patch-gc
new file mode 100644
index 00000000000..45a7bb35c57
--- /dev/null
+++ b/misc/openoffice2/patches/patch-gc
@@ -0,0 +1,25 @@
+$NetBSD: patch-gc,v 1.1 2009/09/13 03:54:14 hira Exp $
+
+Fix build with getline() in libc.
+From http://bugs.gentoo.org/show_bug.cgi?id=270263
+
+--- soltools/mkdepend/parse.c.orig 2006-09-22 17:57:33.000000000 +0900
++++ soltools/mkdepend/parse.c 2009-09-12 20:56:36.000000000 +0900
+@@ -45,7 +45,7 @@
+ register int type;
+ boolean recfailOK;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, TRUE)) {
+ case IF:
+ doif:
+@@ -167,7 +167,7 @@
+ register char *line;
+ register int type;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, FALSE)) {
+ case IF:
+ case IFFALSE: