summaryrefslogtreecommitdiffstats
path: root/office/htmldoc/insecure_sscanf_patch.diff
diff options
context:
space:
mode:
author LukenShiro <lukenshiro@ngi.it>2014-08-07 22:04:40 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-07 22:04:40 +0700
commit385559d6ff94289f9c40ebf00bcc533cea92954a (patch)
tree95276dbb6f3b977220a8dfc531b2c68f31534557 /office/htmldoc/insecure_sscanf_patch.diff
parent978445bce2b7479734633c5104e14052e9ed37c6 (diff)
downloadslackbuilds-385559d6ff94289f9c40ebf00bcc533cea92954a.tar.gz
slackbuilds-385559d6ff94289f9c40ebf00bcc533cea92954a.tar.xz
office/htmldoc: Updated for version 1.8.28.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--office/htmldoc/insecure_sscanf_patch.diff36
1 files changed, 0 insertions, 36 deletions
diff --git a/office/htmldoc/insecure_sscanf_patch.diff b/office/htmldoc/insecure_sscanf_patch.diff
deleted file mode 100644
index 2047c7f7d2..0000000000
--- a/office/htmldoc/insecure_sscanf_patch.diff
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ru htmldoc/htmllib.cxx htmldoc/htmllib.cxx
---- htmldoc/htmllib.cxx 2006-06-07 19:43:52.000000000 +0200
-+++ htmldoc/htmllib.cxx 2009-08-01 19:52:46.301099436 +0200
-@@ -2139,7 +2139,7 @@
- * assigned charset...
- */
-
-- if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%s", &width, glyph) != 2)
-+ if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%63s", &width, glyph) != 2)
- continue;
-
- for (ch = 0; ch < 256; ch ++)
-diff -ru htmldoc/ps-pdf.cxx htmldoc/ps-pdf.cxx
---- htmldoc/ps-pdf.cxx 2006-08-01 18:58:50.000000000 +0200
-+++ htmldoc/ps-pdf.cxx 2009-08-01 19:53:14.300610480 +0200
-@@ -12512,7 +12512,7 @@
- * assigned charset...
- */
-
-- if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%s", &width, glyph) != 2)
-+ if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%63s", &width, glyph) != 2)
- continue;
-
- for (ch = 0; ch < 256; ch ++)
-diff -ru htmldoc/util.cxx htmldoc/util.cxx
---- htmldoc/util.cxx 2005-04-24 21:20:32.000000000 +0200
-+++ htmldoc/util.cxx 2009-08-01 19:52:14.469652088 +0200
-@@ -484,7 +484,7 @@
- PageWidth = 595;
- PageLength = 792;
- }
-- else if (sscanf(size, "%fx%f%s", &width, &length, units) >= 2)
-+ else if (sscanf(size, "%fx%f%254s", &width, &length, units) >= 2)
- {
- /*
- * Custom size...