Re: PQmakeEmptyPGresult() will return NULL if allocation

From: Neil Conway <neilc(at)samurai(dot)com>
To: Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: PQmakeEmptyPGresult() will return NULL if allocation
Date: 2005-06-12 00:11:46
Message-ID: 42AB7DC2.4070401@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Glaesemann 2005-06-12 11:38:00 Re: (8.1) to_timestamp correction (epoch to timestamptz)
Previous Message Neil Conway 2005-06-12 00:11:00 Re: libpq: remove unused code