pgsql: Fix crash caused by NULL lookup when reporting IP address of fai

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash caused by NULL lookup when reporting IP address of fai
Date: 2010-12-16 15:14:17
Message-ID: E1PTFX7-000791-1t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix crash caused by NULL lookup when reporting IP address of failed
libpq connection, per report from Magnus. This happens only on GIT
master and only on Win32 because that is the platform where "" maps to
an IP address (localhost).

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=48da2b87e3f292534a26d3bacc2a13f7b62a34c8

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2010-12-16 15:38:49 pgsql: Add some minor missing error checks
Previous Message User Merlinm 2010-12-16 14:42:09 libpqtypes - libpqtypes: fixed type->array join to properly use typarray