Modify canonicalize_path() so if we would return a trailing "..", throw

Bruce Momjian <bruce@momjian.us>

Commit: 35379e9079c391754e7a9f54647c84d6e2caece5
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-08-12T19:42:45Z
Releases: 8.1.0
Modify canonicalize_path() so if we would return a trailing "..", throw
an error instead.

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +6 −3
src/port/Makefile modified +3 −2
src/port/path.c modified +50 −16