BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
Date
Msg-id 16787-14d7db7e49e2819e@postgresql.org
Whole thread Raw
Responses Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16787
Logged by:          Юрий Першин
Email address:      pershin@prosoftsystems.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


pgsql-bugs by date:

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