Skip to Content.
Sympa Menu

freetds - Re: [freetds] Crash selecting a blank TEXT field

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Luke Benstead" <kazade AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Crash selecting a blank TEXT field
  • Date: Mon, 4 Jun 2007 16:57:42 +0100

Ah, well in that case I'm using unixODBC.

Luke.

On 04/06/07, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio AT vodafone.com> wrote:

>
> Um.. sorry for probably sounding dumb but whats DM? I'm using
> PyODBC if
> that's what you mean?
>
> Luke.
>

DM is the Driver Manager, usually unixODBC or iODBC under *nix.

In this case you should have a stack like

Your app (run by Python)
PyODBC
DM
FreeTDS ODBC Driver

Now probably PyODBC send a wrong BufferLength, DM do not catch this
problem and wrongly pass this value to our driver... which correctly
core...

freddy77

> On 04/06/07, ZIGLIO, Frediano, VF-IT
> <Frediano.Ziglio AT vodafone.com> wrote:
> >
...
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb6df3608,
> 2048, 0xb6df3600)
> > > odbc.c:4396:SQLGetData(0x844d548, 12, 1, 0xb76728ab, -2046,
> > > 0xb6df3600)
> > >
> >
> > This has nothing to do with TEXT problem. Upper layer pass
> a value <0
> > (-2046) for BufferLength, this should be blocked by DM and
> not used by
> > caller! Which DM are you using?
> >
> > > That's the very end of the log. If you need any more info
> > > just let me know.
> > >
> > > Luke.
> > >
> >

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page