Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aQe7H-0007WP-Bn for pgsql-odbc@arkaria.postgresql.org; Tue, 02 Feb 2016 16:47:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aQe7F-0001bC-Hr for pgsql-odbc@arkaria.postgresql.org; Tue, 02 Feb 2016 16:47:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aQe7E-0001Yv-N0 for pgsql-odbc@postgresql.org; Tue, 02 Feb 2016 16:47:44 +0000 Received: from mbob.nabble.com ([162.253.133.15]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aQe7B-0003W8-4w for pgsql-odbc@postgresql.org; Tue, 02 Feb 2016 16:47:43 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id DF3E71FCF13E for ; Tue, 2 Feb 2016 08:42:37 -0800 (PST) Date: Tue, 2 Feb 2016 09:47:40 -0700 (MST) From: BenS To: pgsql-odbc@postgresql.org Message-ID: <1454431660247-5885422.post@n5.nabble.com> In-Reply-To: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> Subject: Re: psqlODBC crashes upon memory allocation failures MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.6 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Tsunakawa, Takayuki wrote > Hello, > > As I said here: > > http://www.postgresql.org/message-id/0A3221C70F24FB45833433255569204D1F4DB1CF@G01JPEXMBYT05 > > psqlODBC ignores memory allocation failure in a number of places. That > causes the application crash due to NULL dereference. Actually, I ran > into the crash of my 32-bit application under high load. > > The attached patch is the fix for it. I wish this will be included in the > upcoming release. > > > Regards, Takayuki Tsunakawa > > > > -- > Sent via pgsql-odbc mailing list ( > pgsql-odbc@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-odbc > > > crash_on_nomem.patch (27K) > <http://postgresql.nabble.com/attachment/5884572/0/crash_on_nomem.patch> Hello, i can confirm the crash in msvcr120.dll. It happens no-and-then by trivially scrolling forward + backward a result set with psqlodbc-09.05.0100 / postgresql30a.dll. Where i can get a patched version? Thanks for your help! Regards, BenS -- View this message in context: http://postgresql.nabble.com/psqlODBC-crashes-upon-memory-allocation-failures-tp5884572p5885422.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc