psqlODBC crashes upon memory allocation failures - Mailing list pgsql-odbc

From Tsunakawa, Takayuki
Subject psqlODBC crashes upon memory allocation failures
Date
Msg-id 0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05
Whole thread Raw
Responses Re: psqlODBC crashes upon memory allocation failures
Re: psqlODBC crashes upon memory allocation failures
List pgsql-odbc
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


Attachment

pgsql-odbc by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: Please help solve various memory corruption failures
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: A query retrieving many rows crashes with psqlodbc-09.05.0100