OSDN Git Service

Properly handle Win32 paths of 'E:abc', which can be either absolute or
authorBruce Momjian <bruce@momjian.us>
Sat, 12 Feb 2011 14:47:51 +0000 (09:47 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 12 Feb 2011 14:47:51 +0000 (09:47 -0500)
commit0de0cc150af46122238f2fe03605bf14e1a7c276
tree1af197eca1a70339335f4243b371d6d4d159cee1
parentb313bca0afce3ab9dab0a77c64c0982835854b9a
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.
contrib/adminpack/adminpack.c
src/backend/utils/adt/genfile.c
src/include/port.h
src/port/path.c