[Expat-bugs] Problem with current expat in CVS and XML_ParserCreate_MM

Fred L. Drake, Jr. fdrake@acm.org
Tue, 27 Aug 2002 16:19:54 -0400


Tim Crook writes:
 > I see problems in XML_ParserCreate_MM when parserInit is called before
 > poolInit initializes tempPool. poolCopyString is called using the
 > uninitialized variable tempPool, which causes unpredictable results, in my
 > case, an access violation. Shouldn't poolInit be called before parserInit?

I think you're right!

Do you mind telling us what platform you're using that gets a segfault
on this?  This is the first report of this we've had that I'm aware
of.

I'll commit this change now.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation