Re: psqlODBC crashes upon memory allocation failures

From: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
To: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: psqlODBC crashes upon memory allocation failures
Date: 2016-01-28 10:01:37
Message-ID: 56A9E701.50204@dream.email.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Venkatesan, Sekhar 2016-01-28 16:53:05 PostgreSQL: Autocommit through windows odbc driver doesnt work!!!
Previous Message Tsunakawa, Takayuki 2016-01-28 08:20:17 A query retrieving many rows crashes with psqlodbc-09.05.0100