pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: BenS <ben3003@gmx.net>
To: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC crashes upon memory allocation failures
Date: Tue, 2 Feb 2016 09:47:40 -0700 (MST)
Message-ID: <1454431660247-5885422.post@n5.nabble.com> (raw)
In-Reply-To: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05>
References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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)
> &lt;http://postgresql.nabble.com/attachment/5884572/0/crash_on_nomem.patch&gt;

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



view thread (4+ messages)  latest in thread

Message-ID: <1454431660247-5885422.post@n5.nabble.com>
Permalink:  ../1454431660247-5885422.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1454431660247-5885422.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: ben3003@gmx.net
  Subject: Re: psqlODBC crashes upon memory allocation failures
  In-Reply-To: <1454431660247-5885422.post@n5.nabble.com>
  References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> <1454431660247-5885422.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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