From: "Billy O'Connor" <billy@oconnoronline.net>
To: a8603365@unet.univie.ac.at
Cc: linux-kernel@vger.kernel.org
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 13:34:22 -0400 (EDT) [thread overview]
Message-ID: <20020613173422.B0D0D89@dps7.oconnoronline.net> (raw)
In-Reply-To: <200206131917.49235@pflug3.gphy.univie.ac.at> (a8603365@unet.univie.ac.at)
>From billy Thu Jun 13 12:31:23 2002
From: Melchior FRANZ <a8603365@unet.univie.ac.at>
Date: Thu, 13 Jun 2002 19:17:49 +0200
X-PGP: http://www.unet.univie.ac.at/~a8603365/melchior.franz
Content-Disposition: inline
Sender: linux-kernel-owner@vger.kernel.org
X-Mailing-List: linux-kernel@vger.kernel.org
* Melchior FRANZ -- Thursday 13 June 2002 18:49:
> * rjh@world.std.com -- Thursday 13 June 2002 18:33:
> > It resulted in an almost infinite size malloc() request.
>
> No. AFAIK it is caused in the file xc/lib/font/Type1/t1font.c
^^^^^^^^
This should have been t1func.c, sorry.
t1func.c ?
This bit here, in Type1OpenScalable()?
/* heuristic for "maximum" size of pool we'll need: */
size = 200000 + 120 *
(int)hypot(vals->pixel_matrix[2],
vals->pixel_matrix[3])
* sizeof(short);
if (size < 0 || NULL == (pool = (long *)xalloc(size))) {
xfree(cid);
DestroyFontRec(pFont);
return AllocError;
}
next prev parent reply other threads:[~2002-06-13 18:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 17:17 Melchior FRANZ
2002-06-13 17:34 ` Billy O'Connor [this message]
2002-06-13 18:44 ` Melchior FRANZ
2002-06-13 19:22 ` Very large font size crashing X Font Server and Grounding Server to a Halt Melchior FRANZ
-- strict thread matches above, loose matches on Subject: below --
2002-06-14 13:46 Very large font size crashing X Font Server and Grounding Server to a Halt (was: remote DoS in Mozilla 1.0) Juliusz Chroboczek
2002-06-22 1:36 ` Alan Cox
2002-06-13 21:47 Jesse Pollard
2002-06-13 22:09 ` Matthew Wakeling
2002-06-13 16:53 Melchior FRANZ
[not found] <20020610102006.A6947@lemuria.org>
2002-06-13 1:44 ` Federico Sevilla III
2002-06-13 7:18 ` Matti Aarnio
2002-06-13 16:26 ` rjh
2002-06-14 13:50 ` Security Coordinator
2002-06-13 21:10 ` Matthew Wakeling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020613173422.B0D0D89@dps7.oconnoronline.net \
--to=billy@oconnoronline.net \
--cc=a8603365@unet.univie.ac.at \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®