Don't allow relative path for copy from file
Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
From: "Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>
To: "'PostgreSQL-development'" <pgsql-hackers@postgresql.org>
Date: 2012-08-15T09:17:37Z
Lists: pgsql-hackers
Attachments
- copy_from_pathcheck.patch (application/octet-stream) patch
As described in the reference manual for COPY, we should to check file's path format not to allow relative path. Please find attached a patch. Thanks, Best regards, Etsuro Fujita