Re: (Repost) Re: [xml] Memory reference after xmlFree in XPath evaluation



On Mon, Apr 14, 2003 at 09:30:30AM +0100, Brian Stafford wrote:
[I posted this over a week ago but so for there has been no response.  
It is a test case demonstrating a potential memory reference after free 
problem I believe I have identified in XPath evaluation.  This 
situation is causing me genuine problems using libxml2 and I have spent 
some time trying to track down the cause.  I would appreciate some 
guidance either to patch libxml2 to cure the problem or alternatively, 
if anyone else on the list has encountered this, guidance as to how to 
structure the application to avoid the reference after free.]

  http://mail.gnome.org/archives/xslt/2003-April/msg00035.html
  http://bugzilla.gnome.org/show_bug.cgi?id=110023
  http://mail.gnome.org/archives/xslt/2003-April/msg00042.html
  http://mail.gnome.org/archives/xslt/2003-April/msg00039.html

 Enough evidence that 1/ there is a problem 2/ this is been worked on
3/ existing Result Value Tree based code may need changes 4/ there have
been discussion on the issue.
 I did not have the time to look at your code. I may not have the time,
check first that the solutions applied by Mark Vadoc is applicable
in your case.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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