pgsql: Don't try to create a temp install without abs_top_builddir.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't try to create a temp install without abs_top_builddir.
Date: 2015-09-28 14:54:35
Message-ID: E1ZgZp5-0007OM-Tr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't try to create a temp install without abs_top_builddir.

Otherwise, we effectively act as if abs_top_builddir were the root
directory, which is quite dangerous if the user happens to have
permissions to do things there. This can crop up in PGXS builds,
for example.

Report by Sandro Santilli, patch by me, review by Noah Misch.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/80e2694b284cd9395b1ee8ef476f5f720ee50566

Modified Files
--------------
src/Makefile.global.in | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-09-28 15:01:33 pgsql: Use LOCKBIT_ON() instead of a bit shift in a few places.
Previous Message Peter Eisentraut 2015-09-28 00:35:21 pgsql: pg_dump: Fix some messages