From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: psqlODBC crashes upon memory allocation failures
Date: Thu, 28 Jan 2016 19:01:37 +0900
Message-ID: <56A9E701.50204@dream.email.ne.jp> (raw)
In-Reply-To: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05>
References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 2016/01/28 15:27, 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.
Thanks.
I would take care of this patch.
regards,
Hiroshi Inoue
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: h-inoue@dream.email.ne.jp, tsunakawa.takay@jp.fujitsu.com
Subject: Re: psqlODBC crashes upon memory allocation failures
In-Reply-To: <56A9E701.50204@dream.email.ne.jp>
References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> <56A9E701.50204@dream.email.ne.jp>
* 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