]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL
authorBruce Momjian <bruce@momjian.us>
Thu, 17 Nov 2011 18:24:54 +0000 (13:24 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 17 Nov 2011 18:24:54 +0000 (13:24 -0500)
commit988f907d2437ea0b45aa0002178610bb9d8a399a
tree7ac5a925f66caf3766064865f5dc676a43975168
parentb735757c3254679af6d6e768e4c59f937e650eb5
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
contrib/pg_upgrade/file.c