Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pershin(at)prosoftsystems(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
Date: 2020-12-22 15:41:16
Message-ID: 20201222154116.GP28841@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Dec 22, 2020 at 02:11:09AM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 16787
> Logged by: Юрий Першин
> Email address: pershin(at)prosoftsystems(dot)ru
> PostgreSQL version: 13.1
> Operating system: Windows
> Description:
>
> Tried another mailing lists with no success.
>
> 1. Memory leak in psqlodbc30*.dll - probably missing
> QR_Destructor(self->parsed) function call inside SC_Destructor(). Steps for
> reproduce:
> https://www.postgresql.org/message-id/194f365f33f640fd9397c4608819e06f%40prosoftsystems.ru
> 2. READ AV in psqlodbc30a.dll - you should remove strlen from strncpy_null
> https://www.postgresql.org/message-id/15b7ea3bfae04c7992c6fcc1aaf8a3e5%40prosoftsystems.ru
> 3. Memory leak in libpq.dll - leaked 0x18 bytes
> https://www.postgresql.org/message-id/2078341cd30141fbb8a54b7d63faca47%40prosoftsystems.ru
> 4. Underflow in psqlodbc30*.dll - when SQLNativeSqlW called with both
> szSqlStr and cbSqlStrMax==0, { CONN_NO_MEMORY_ERROR, "Could not allocate
> memory for output buffer" } raised by mistake

You would report ODBC issues here:

pgsql-odbc(at)postgresql(dot)org

https://odbc.postgresql.org/faq.html#1.6

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-12-22 15:52:35 Re: Segment error
Previous Message Александр Никитин 2020-12-22 10:57:29 Segment error