Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krjms-0002S8-4r for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Dec 2020 15:41:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1krjmr-0001uK-27 for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Dec 2020 15:41:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krjmq-0001uD-Sg for pgsql-bugs@lists.postgresql.org; Tue, 22 Dec 2020 15:41:20 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krjmo-00040p-Il for pgsql-bugs@lists.postgresql.org; Tue, 22 Dec 2020 15:41:19 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1krjmm-0007if-Ie; Tue, 22 Dec 2020 10:41:16 -0500 Date: Tue, 22 Dec 2020 10:41:16 -0500 From: Bruce Momjian To: pershin@prosoftsystems.ru, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16787: ODBC driver (libpq.dll, psqlodbc30a.dll, psqlodbc30w.dll) issues Message-ID: <20201222154116.GP28841@momjian.us> References: <16787-14d7db7e49e2819e@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <16787-14d7db7e49e2819e@postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee