Received: from pompeii.ise (troy.eiffel.com [198.68.147.5]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA77567 for ; Tue, 19 Oct 1999 13:16:41 -0400 (EDT) (envelope-from oconnor@eiffel.com) Received: from cannes.ise ([10.0.10.100] helo=eiffel.com ident=oconnor) by pompeii.ise with esmtp (Exim 3.02 #2) id 11dcre-0002Bf-00 for pgsql-interfaces@postgresql.org; Tue, 19 Oct 1999 10:15:58 -0700 Sender: oconnor Message-ID: <380CA74E.BDFEE13C@eiffel.com> Date: Tue, 19 Oct 1999 10:15:58 -0700 From: "Sam O'Connor" Reply-To: oconnor@eiffel.com Organization: ISE X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: BUG in ODBC driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The current ODBC driver has a bug caused by the loid being cast and stored in a pointer. Later on there are two places where this pointer is dereferenced to free some memory but there is no check to see if the current type is LONG_VAR_BINARY. I had fixed this in my local copy of the source but have since had my laptop's hard disk die. I'll try to reconstruct the fix in a few days. (other more important things to reconstruct in the meantime) Perhaps someone else can fix it in the meantime from the meager description above. Sam P.S. Is anyone else using PG + ODBC from C?