I have debugged an invalid memory reference in gwen list.c which caused various symptoms like crash in malloc, "invalid memory reference" running under valgrind, etc.  The problem is that GWEN__ListPtr_Clear() did not set all of the list entry pointers to zero after releasing all of the list entries.

gwenhywfar-2.3.0/src/base/list.c

--- src/base/list.c.orig    2006-04-03 18:34:42.000000000 -0400
+++ src/base/list.c    2006-07-16 16:24:55.000000000 -0400
@@ -111,6 +111,7 @@
     le=nle;
   } /* while */
   lp->first=0;
+  lp->last=0;
   lp->size=0;
 }

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to