Messages in this thread | | | From | Melchior FRANZ <> | Subject | Re: Very large font size crashing X Font Server and Grounding Server to a Halt (was: remote DoS in Mozilla 1.0) | Date | Thu, 13 Jun 2002 20:44:59 +0200 |
| |
* Billy O'Connor -- Thursday 13 June 2002 19:34: > This bit here, in Type1OpenScalable()? > > /* heuristic for "maximum" size of pool we'll need: */ > size = 200000 + 120 *
Yes. I simply replaced 120 by 600 after which it processed even the biggest of my fonts scaled to 1000 points, without aborting. But there might be bigger fonts. Note that there are 2 further places where these (wrong) heuristics are used, and I changed 120 -> 600 there, too (4 times in summary). This is, however, no elegant solution. The XFree people discuss meanwhile to replace the whole type1 stuff by the one from freetype2.
m. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |