Check for failed memory allocations in libpq

From: Dave Allen <daveallen(at)acm(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Check for failed memory allocations in libpq
Date: 2003-07-31 07:11:07
Message-ID: 1059635467.1751.25.camel@shampoo.sysrq.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Attached is a patch (against 7.3.4) to check the return values of some
calls (malloc, realloc, etc.) for failed memory allocations in libpq.

--
Dave Allen
daveallen(at)acm(dot)org

Attachment Content-Type Size
libpq-alloc-checks.patch text/plain 2.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-31 09:01:57 Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Previous Message Joe Conway 2003-07-31 05:41:33 Re: hexadecimal to decimal