pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
3+ messages / 3 participants
[nested] [flat]
* BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
@ 2020-12-22 02:11 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 3+ messages in thread
From: PG Bug reporting form @ 2020-12-22 02:11 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: pershin@prosoftsystems.ru
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
@ 2020-12-22 15:41 Bruce Momjian <bruce@momjian.us>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2020-12-22 15:41 UTC (permalink / raw)
To: pershin@prosoftsystems.ru; pgsql-bugs@lists.postgresql.org
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@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
You would report ODBC issues here:
pgsql-odbc@postgresql.org
https://odbc.postgresql.org/faq.html#1.6
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
@ 2020-12-22 20:18 Першин Юрий Петрович <pershin@prosoftsystems.ru>
parent: Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 3+ messages in thread
From: Першин Юрий Петрович @ 2020-12-22 20:18 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Hi!
Item 3, leak static object in libpq.dll - fix at least, please (we use AppVerifier to make our software certified by Microsoft)
pgsql-odbc: items 1-2 already there, not answered yet; item 4 - added https://www.postgresql.org/message-id/231fbd20e4a0489aa814dd1b12f52ae2%40prosoftsystems.ru.
-----Original Message-----
From: Bruce Momjian [mailto:bruce@momjian.us]
Sent: Tuesday, December 22, 2020 8:41 PM
To: Першин Юрий Петрович; pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues
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@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
You would report ODBC issues here:
pgsql-odbc@postgresql.org
https://odbc.postgresql.org/faq.html#1.6
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-12-22 20:18 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 02:11 BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues PG Bug reporting form <noreply@postgresql.org>
2020-12-22 15:41 ` Bruce Momjian <bruce@momjian.us>
2020-12-22 20:18 ` Першин Юрий Петрович <pershin@prosoftsystems.ru>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox