Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOjOj-0002ki-JM for pgsql-odbc@arkaria.postgresql.org; Thu, 28 Jan 2016 10:01:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOjOi-0008CG-Fo for pgsql-odbc@arkaria.postgresql.org; Thu, 28 Jan 2016 10:01:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOjOi-0008Bq-0u for pgsql-odbc@postgresql.org; Thu, 28 Jan 2016 10:01:52 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aOjOZ-0001z4-Fw for pgsql-odbc@postgresql.org; Thu, 28 Jan 2016 10:01:50 +0000 Received: from [192.168.1.3] (ab063014.dynamic.ppp.asahi-net.or.jp [183.76.63.14]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 8AACF64E3; Thu, 28 Jan 2016 19:01:37 +0900 (JST) Subject: Re: psqlODBC crashes upon memory allocation failures To: "Tsunakawa, Takayuki" References: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> Cc: "pgsql-odbc@postgresql.org" From: "Inoue, Hiroshi" Message-ID: <56A9E701.50204@dream.email.ne.jp> Date: Thu, 28 Jan 2016 19:01:37 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <0A3221C70F24FB45833433255569204D1F4DB24D@G01JPEXMBYT05> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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