mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
524 B
Plaintext
16 lines
524 B
Plaintext
$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 ++)
|