Re: PQmakeEmptyPGresult() will return NULL if allocation - Mailing list pgsql-patches

From Neil Conway
Subject Re: PQmakeEmptyPGresult() will return NULL if allocation
Date
Msg-id 42AB7DC2.4070401@samurai.com
Whole thread Raw
In response to Re: PQmakeEmptyPGresult() will return NULL if allocation  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway wrote:
> Attached is a patch that implements this. This adds checking for most of
> the call sites of strdup(), malloc(), PQmakeEmptyPGresult(),
> pqResultAlloc(), and pqResultStrdup() in libpq. Barring any objections,
> I'll apply this to HEAD tomorrow.

Applied. Thanks for the report.

-Neil

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: libpq: remove unused code
Next
From: Michael Glaesemann
Date:
Subject: Re: (8.1) to_timestamp correction (epoch to timestamptz)