Don't allow relative path for copy from file

From: "Etsuro Fujita" <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp>
To: "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Don't allow relative path for copy from file
Date: 2012-08-15 09:17:37
Message-ID: 001501cd7ac6$cfdec990$6f9c5cb0$@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
copy_from_pathcheck.patch application/octet-stream 567 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2012-08-15 10:51:54 Re: [COMMITTERS] pgsql: Revert "commit_delay" change; just add comment that we don't hav
Previous Message Alexander Korotkov 2012-08-15 08:34:07 Re: Statistics and selectivity estimation for ranges