Re: [xml] FW: Linking to

On Wed, Dec 28, 2005 at 01:28:36PM -0500, Sreeni Nair wrote:
Possibly a  bug:

In the function xmlRegExecPushString2(...) in xmlregexp.c, the last
couple of lines are:

    if (str != buf)

Since str is the dynamically allocated entity, I think it should have
been xmlFree(str).

  Right, nasty, thanks for spotting this ! Suprizingly this is never
exercized by the test suite :-\

PS: Is this the correct list to raise such flags? Also, other than
posting it here, is there anything that mere users of the library can

  That's fine. Making a bugzilla entry and or adding patches (contextual
diff) help making sure the error is not lost and to know precisely how
you think it should be fixed. In that case it's simple enough though.

 thanks, change applied and commited to CVS !


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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