This queue is for tickets about the XML-LibXSLT CPAN distribution.

Report information
The Basics
Id:
14026
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
PEPL [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
1.57
Fixed in:
(no value)

Attachments
perl-libxml-mm.c-BadFree.patch



Subject: Bad free() ignored
The attached patches synchronizes XML::LibXSLT's and XML::LibXML's perl-libxml-mm.c; Bad Free() warnings as reported in http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/2242154 will go away...
Index: perl-libxml-mm.c =================================================================== RCS file: /home/cvs/XML-LibXSLT/perl-libxml-mm.c,v retrieving revision 1.4 diff -u -b -r1.4 perl-libxml-mm.c --- perl-libxml-mm.c 29 Feb 2004 17:50:52 -0000 1.4 +++ perl-libxml-mm.c 5 Aug 2005 13:59:51 -0000 @@ -130,7 +130,7 @@ ProxyNodePtr proxy; if ( node->_private == NULL ) { - proxy = (ProxyNodePtr)malloc(sizeof(ProxyNode)); + Newc(0, proxy, 1, ProxyNode, ProxyNode); /* proxy = (ProxyNodePtr)Newz(0, proxy, 0, ProxyNode); */ if (proxy != NULL) { proxy->node = node; @@ -238,7 +238,7 @@ xs_warn( "STANDALONE REAL DELETE" ); x_PmmFreeNode( libnode ); } - free( node ); + Safefree( node ); } } return retval;
On pá 05.srp.2005 10:13:17, PEPL wrote:
Show quoted text
> The attached patches synchronizes XML::LibXSLT's and XML::LibXML's > perl-libxml-mm.c; Bad Free() warnings as reported in > http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/2242154 will
go
Show quoted text
> away...
The patch seems to be included in 1.59.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.