Re: segfault when disconnecting from db with server side prepare

From: "Scot Loach" <sloach(at)sandvine(dot)com>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: segfault when disconnecting from db with server side prepare
Date: 2004-09-20 13:13:01
Message-ID: A8535F8D62F3644997E91F4F66E341FC1BB2F3@exchange.sandvine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I took a closer look at the CVS and it appears that this is in fact already fixed, I guess I need to update my CVS.

Thanks anyway.

scot.

-----Original Message-----
From: Dave Page [mailto:dpage(at)vale-housing(dot)co(dot)uk]
Sent: Monday, September 20, 2004 3:39 AM
To: Scot Loach; pgsql-odbc(at)postgresql(dot)org
Subject: RE: [ODBC] segfault when disconnecting from db with server side
prepare

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Scot Loach
> Sent: 19 September 2004 15:29
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: [ODBC] segfault when disconnecting from db with
> server side prepare
>
> I think the proper way to fix this is to simply add a check
> for a null pointer in the SC_set_prepared function, but I
> wanted to ask here first since I don't know if this will have
> any unforseen consequences.

Sounds fine to me - it's not like you would ever intentionally want conn
== null in there.

Can you supply a patch?

Regards, Dave

Browse pgsql-odbc by date

  From Date Subject
Next Message Luc ROLLAND 2004-09-20 14:28:08 OIDS column required with ODBC ?
Previous Message Karol Szkudlarek 2004-09-20 07:58:33 SQLDescribeCol before SQLExcecute call problem (fwd)