Re: segfault when disconnecting from db with server side prepare - Mailing list pgsql-odbc

From Dave Page
Subject Re: segfault when disconnecting from db with server side prepare
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4306545@ratbert.vale-housing.co.uk
Whole thread Raw
In response to segfault when disconnecting from db with server side prepare  ("Scot Loach" <sloach@sandvine.com>)
List pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Scot Loach
> Sent: 19 September 2004 15:29
> To: pgsql-odbc@postgresql.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

pgsql-odbc by date:

Previous
From: "Scot Loach"
Date:
Subject: segfault when disconnecting from db with server side prepare
Next
From: Karol Szkudlarek
Date:
Subject: SQLDescribeCol before SQLExcecute call problem (fwd)