small fix to possible null pointer dereference in byteaout() varlena.c

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: small fix to possible null pointer dereference in byteaout() varlena.c
Date: 2010-09-28 13:31:48
Message-ID: AANLkTikAq5Tx+tibsqzXZpxj4HrW38d3gZQ0TNKHB1LT@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It would crash if input is of unrecognized format. Probably than
there's going to be more problems to be concerned with, but just in
case, don't crash in

--
GJ

Attachment Content-Type Size
varlena_null_dereference.patch text/x-patch 478 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-09-28 13:34:09 Re: recovery.conf location
Previous Message Robert Haas 2010-09-28 13:22:05 Re: security label support, revised