diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-05 17:53:25 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-05 17:53:25 -0500 |
commit | b34f808022ae31c05f4f45d2e432307c5159b24d (patch) | |
tree | b3ac408cfc78fbf9645fe84dff8e2ae6458584f4 /pcr/htmldoc/cve-2009-3050.patch | |
parent | 6006ac3da10bcff2a9d951cfcef97aa765befad2 (diff) | |
download | abslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.tar.gz abslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.tar.bz2 abslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.zip |
htmldoc-1.8.28-1: updating version
Diffstat (limited to 'pcr/htmldoc/cve-2009-3050.patch')
-rw-r--r-- | pcr/htmldoc/cve-2009-3050.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pcr/htmldoc/cve-2009-3050.patch b/pcr/htmldoc/cve-2009-3050.patch deleted file mode 100644 index 8d0fd173a..000000000 --- a/pcr/htmldoc/cve-2009-3050.patch +++ /dev/null @@ -1,41 +0,0 @@ -Description: Fix for CVE-2009-3050 - This patch fixes a buffer overflow when setting custom page output size. -Author: Giuseppe Iuculano <iuculano@debian.org> -Bug-Debian: http://bugs.debian.org/537637 -Bug-Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=278186 -Bug: http://www.htmldoc.org/str.php?L214+P0+S0+C0+I0+E0+M1000+Qversion:1.8 -Last-Update: 2011-02-20 - ---- htmldoc-1.8.27.orig/htmldoc/util.cxx -+++ htmldoc-1.8.27/htmldoc/util.cxx -@@ -484,7 +484,7 @@ set_page_size(const char *size) /* I - P - 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... ---- htmldoc-1.8.27.orig/htmldoc/ps-pdf.cxx -+++ htmldoc-1.8.27/htmldoc/ps-pdf.cxx -@@ -12512,7 +12512,7 @@ write_type1(FILE *out, /* I - Fil - * 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 ++) ---- htmldoc-1.8.27.orig/htmldoc/htmllib.cxx -+++ htmldoc-1.8.27/htmldoc/htmllib.cxx -@@ -2139,7 +2139,7 @@ htmlLoadFontWidths(void) - * 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 ++) |