Subject: Bug in html filter

From: "Denis N. Antonioli" <[email-masked]>
Date: Fri, 24 Jul 1998 12:34:01 +0200 (MET DST)

-----BEGIN PGP SIGNED MESSAGE-----

Hi,

I've just received an email that crashes pine 4: it's a multipart
mail that contains this text/html:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title></title>
</head>
<body>

<A NAME="s1body"></A>
<FONT SIZE=1 FACE="Courier New">Hi,</FONT><BR>&nbsp;<BR>&nbsp;<BR>
<FONT SIZE=1 FACE="Courier New">We are trying to increase the performance 
of a parser<BR>
we generated using JavaCC. &nbsp;We've found that for a 1.2MB<BR>
input file, with about 56K lines, usually 4 tokens per line,<BR>
the parser takes over 10 minutes.</FONT><BR>&nbsp;<BR>
<FONT SIZE=1 FACE="Courier New">We would greatly appreciate any performance 
tips that the<BR>
collective experience of the mailing list can offer us.</FONT><BR>&nbsp;
<BR>
<FONT SIZE=1 FACE="Courier New">Currently, we are using a ByteArrayInputStream 
as the<BR>
underlying InputStream for the parser, i.e.<BR>
 &nbsp;&quot;parser = new Parser(bytestream)&quot;<BR>
Is there a more efficient way to use the parser?</FONT><BR>&nbsp;
<BR>
<FONT SIZE=1 FACE="Courier New">============================================<BR>
James Flagg &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(650)633-6923<BR>
Oracle Corp. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[email-masked]<BR>
============================================</FONT><BR>&nbsp;<BR>
<BR>

</body>
</html>

Pine breaks on the anchor <A NAME="s1body"></A> tag; there are no problems
when the line is removed.

Greetings,
	dna

- -- 
  ... an initial underscore already conveys strong feelings of magicalness
  to a C programmer.
      -- Larry Wall in <[email-masked]>

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------