pgsql: In parse_bool_with_len, avoid crash when no result pointer is

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In parse_bool_with_len, avoid crash when no result pointer is
Date: 2009-03-09 16:49:13
Message-ID: 20090309164913.0969E755AA5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
In parse_bool_with_len, avoid crash when no result pointer is passed. Probably
an unlikely call mode, but better be safe.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
bool.c (r1.46 -> r1.47)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/bool.c?r1=1.46&r2=1.47)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-03-10 00:08:28 pgsql: Doc patch for the recently added probes.
Previous Message Tom Lane 2009-03-09 16:33:57 Re: pgsql: Accept 'on' and 'off' as input for boolean data type, unifying