pgsql: Properly handle Win32 paths of 'E:abc', which can be either abso - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Properly handle Win32 paths of 'E:abc', which can be either abso
Date
Msg-id E1PoGlq-00068e-AT@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Properly handle Win32 paths of 'E:abc', which can be either abso  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Properly handle Win32 paths of 'E:abc', which can be either absolute or
relative, by creating a function path_is_relative_and_below_cwd() to
check for specific requirements.  It is unclear if this fixes a security
problem or not but the new code is more robust.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0de0cc150af46122238f2fe03605bf14e1a7c276

Modified Files
--------------
contrib/adminpack/adminpack.c   |   40 ++++++++++++++++++--------------------
src/backend/utils/adt/genfile.c |   39 ++++++++++++++++++-------------------
src/include/port.h              |    9 +------
src/port/path.c                 |   33 ++++++++++++++++++++++++++++++++
4 files changed, 73 insertions(+), 48 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: DDL support for collations
Next
From: Tom Lane
Date:
Subject: Re: pgsql: DDL support for collations