pkgsrc/www/htmldoc/patches/patch-ab

15 lines
524 B
Text

$NetBSD: patch-ab,v 1.3 2009/08/27 21:51:37 tez Exp $
Fix for Secunia Advisory: SA35780
from http://bugs.gentoo.org/attachment.cgi?id=199846
--- htmldoc/htmllib.cxx.orig 2009-08-26 20:34:51.474463400 -0500
+++ 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 ++)