According to Geoff Hutchison:
> Well I've been spending some time working out bugs upon bugs with Andrew
> here. First off, it seems we get segfaults on Solaris 2.6 in getdate, when
> we call the system function strftime! Fortunately I have an ultra running
> 2.6 I can test.

Before or after my getdate patch?  Does strftime care that the weekday
is not set in the tm structure, even if we don't ask it to output it?
Maybe it would help to zero it out.

> But when we fixed that, it died in the HTML parser, as seen here. This is
> clearly a showstopper. The HTML file is attached, though I'm betting on a
> database problem...

Given that it's crashing in Deserialize(), I'd say it's a safe bet that
it's a database problem.  I don't see anything wrong with the HTML file,
nor do I see how a bad HTML file could cause a problem in Deserialize(),
unless the HTML parser when haywire and started stomping on memory all
over the place.

I did notice that Deserialize() only checks to see that s is less than
end once per deserialized object, but not while deserializing each object.
There really should be tests in all the macros in there to make sure that
you NEVER look beyond the end of the input string, otherwiese a corrupt
database could easily lead it astray!

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to