15 lines
519 B
Text
15 lines
519 B
Text
$NetBSD: patch-ac,v 1.1 2009/08/27 21:51:37 tez Exp $
|
|
Fix for Secunia Advisory: SA35780
|
|
from http://bugs.gentoo.org/attachment.cgi?id=199846
|
|
|
|
--- htmldoc/ps-pdf.cxx.orig 2009-08-26 20:35:52.397461300 -0500
|
|
+++ 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 ++)
|