diff -ur htmldoc-1.8.27~/htmldoc/htmllib.cxx htmldoc-1.8.27/htmldoc/htmllib.cxx --- htmldoc-1.8.27~/htmldoc/htmllib.cxx 2009-08-13 19:25:30.066734472 -0400 +++ htmldoc-1.8.27/htmldoc/htmllib.cxx 2009-08-13 19:25:38.997733603 -0400 @@ -2154,7 +2154,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 ++) Only in htmldoc-1.8.27/htmldoc: htmllib.cxx.orig diff -ur htmldoc-1.8.27~/htmldoc/ps-pdf.cxx htmldoc-1.8.27/htmldoc/ps-pdf.cxx --- htmldoc-1.8.27~/htmldoc/ps-pdf.cxx 2009-08-13 19:25:30.076736152 -0400 +++ htmldoc-1.8.27/htmldoc/ps-pdf.cxx 2009-08-13 19:25:39.010735889 -0400 @@ -12515,7 +12515,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 ++) Only in htmldoc-1.8.27/htmldoc: ps-pdf.cxx.orig diff -ur htmldoc-1.8.27~/htmldoc/util.cxx htmldoc-1.8.27/htmldoc/util.cxx --- htmldoc-1.8.27~/htmldoc/util.cxx 2005-04-24 15:20:32.000000000 -0400 +++ htmldoc-1.8.27/htmldoc/util.cxx 2009-08-13 19:25:39.014737749 -0400 @@ -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...