freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] tdspool: Segmentation fault on connect
- From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] tdspool: Segmentation fault on connect
- Date: Tue, 29 Jul 2003 15:00:16 +0200
>
> Temporary solution!!!
>
> The problem is in lines 68,69 at src/tds/tdsstring.c
>
> free() does'nt works!!! (pointer problem)
>
> Comment both lines if you have Segmentation fault
> and recompile
> Right now is working but with a memory problem....
> Any solution?
> Any patch?
>
> Regards.
>
Try code like
void
tds_dstr_free(char **s)
{
if (*s && *s != tds_str_empty)
free(*s);
}
If this work there is some problem in upper layer (*s shouldn't be
NULL...)
freddy77
-
[freetds] tdspool: Segmentation fault on connect,
Carlos S. Alonso de Linaje, 07/28/2003
- <Possible follow-up(s)>
- RE: [freetds] tdspool: Segmentation fault on connect, Lowden, James K, 07/28/2003
-
RE: [freetds] tdspool: Segmentation fault on connect,
Lowden, James K, 07/28/2003
- [freetds] Problem compiling php with freetds for tdsiconv.h, Aliet Santiesteban Sifontes, 07/28/2003
- RE: [freetds] tdspool: Segmentation fault on connect, Carlos S. Alonso de Linaje, 07/29/2003
- RE: [freetds] tdspool: Segmentation fault on connect, Carlos S. Alonso de Linaje, 07/29/2003
- RE: [freetds] tdspool: Segmentation fault on connect, ZIGLIO Frediano, 07/29/2003
- RE: [freetds] tdspool: Segmentation fault on connect, Carlos S. Alonso de Linaje, 07/29/2003
Archive powered by MHonArc 2.6.24.