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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: pershin(at)prosoftsystems(dot)ru
Subject: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
Date: 2020-12-22 02:11:09
Message-ID: 16787-14d7db7e49e2819e@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2020-12-22 04:33:41 Re: BUG #16783: pg_rewind: option -c does not work when configuration files are outside data directory
Previous Message Tom Lane 2020-12-22 01:10:59 Re: BUG #16785: Postgresql shutdown during initial pg_prewarm prewarming causes Pg to get stuck