richter 2005/02/25 00:42:00
Modified: . Changes.pod epcomp.c
Log:
fix segfault due to changed pDomTree addr
Revision Changes Path
1.262 +3 -0 embperl/Changes.pod
Index: Changes.pod
===================================================================
RCS file: /home/cvs/embperl/Changes.pod,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -r1.261 -r1.262
--- Changes.pod 25 Feb 2005 08:06:21 -0000 1.261
+++ Changes.pod 25 Feb 2005 08:42:00 -0000 1.262
@@ -21,6 +21,9 @@
Embperl request is active.
- Do not use method call to output in send_error_page to avoid
trouble with overloaded output function.
+ - Fixed segfault which occured sometimes randomly after compile
+ of Embperl page source.
+
=head1 2.0rc2 21. November 2004
1.19 +3 -1 embperl/epcomp.c
Index: epcomp.c
===================================================================
RCS file: /home/cvs/embperl/epcomp.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- epcomp.c 25 Feb 2005 08:06:21 -0000 1.18
+++ epcomp.c 25 Feb 2005 08:42:00 -0000 1.19
@@ -1664,6 +1664,8 @@
return rc ;
}
+ pDomTree = DomTree_self (xDomTree) ; /* addr may have changed */
+
SvREFCNT_dec (pDomTree -> pSV) ;
pDomTree -> pSV = NULL ;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]