Re: [xml] xmlNodeDumpOutput appears to corrupt data; crash follows in xmlStrEqual



At 06:12 AM 1/8/2003 -0500, Daniel Veillard wrote:
  the DTD is looked for based on the document passed to xmlNodeDumpOutput().
And the pointer stored in the DTD for the system ID is invalid. Go back
to the PHP maintainer and ask him to fix the code making that xmlDtdPtr node.
That DTD node was not generated by libxml2 as part of the parsed document
since there is NO DOCTYPE entries in the parsed examples. I have no idea
what the PHP code looks like but getting an invalid DTD node for a document
which did not contained any initially doesn't give me a good opinion of
that code quality honnestly. I have no idea of what's going on there, but
this doesn't sound good, really.

I don't understand why, if this is a PHP issue, the bug is not reproducible with the same version of PHP and different versions of libxml2. I will go back to the same version of libxml2 that Ilia tested with and see if I can reproduce it on my machine, with same PHP and sample code.


- Greg Keraunen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]