Re: psqlODBC crashes upon memory allocation failures

From: BenS <ben3003(at)gmx(dot)net>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: psqlODBC crashes upon memory allocation failures
Date: 2016-02-02 16:47:40
Message-ID: 1454431660247-5885422.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Don Naumann 2016-02-02 19:11:24 PostgreSQL 9.5 23bit ODBC Driver
Previous Message Ha Van 2016-02-02 15:23:06 Supported Windows Version