pgsql: Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL
Date: 2011-11-17 18:25:34
Message-ID: E1RR6eU-0001Zk-0H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL
pattern, which is used on PG 9.1 and HEAD (but not pre-9.1). Fixes
crash on Windows.

Backpatched to 9.1.

Reported by Mark Dilger

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/988f907d2437ea0b45aa0002178610bb9d8a399a

Modified Files
--------------
contrib/pg_upgrade/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-11-17 18:41:17 pgsql: Fix pg_upgrade's pg_scandir_internal() the right way. Backpatch
Previous Message Bruce Momjian 2011-11-17 18:25:33 pgsql: Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL