---------- Forwarded message ----------
From: Archimedes Submerged <[EMAIL PROTECTED]>
Date: Jul 12, 2006 9:36 AM
Subject: Re: [Aqbanking-devel] [PATCH] segfault due to uninitialzed bufferpointer after error return.
To: Martin Preuss <[EMAIL PROTECTED]>
Ok, try the attached patch instead. Fixes the segfault.
On 7/12/06, Martin Preuss <
[EMAIL PROTECTED]> wrote:
Hi,
On Wednesday 12 July 2006 15:17, Archimedes Submerged wrote:
[...]
> - *rbuf = (GWEN_BUFFER *)0;
[...]
I will not include this patch, because in case of an error this variable is
supposed to be unchanged. So actually this line should be added to the
caller's code...
Regards
Martin
--
"Things are only impossible until they're not"
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/
--- ../aqbanking-2.1.0/src/plugins/backends/aqofxconnect/plugin/provider.c~ 2006-05-17 06:39:07.000000000 -0400 +++ ../aqbanking-2.1.0/src/plugins/backends/aqofxconnect/plugin/provider.c 2006-07-12 09:33:13.000000000 -0400 @@ -1150,7 +1150,6 @@ if (rv) { DBG_ERROR(AQOFXCONNECT_LOGDOMAIN, "Error exchanging getStatements-request (%d)", rv); - GWEN_Buffer_free(rbuf); AO_Context_free(ctx); return rv; }
------------------------------------------------------------------------- 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