pgsql: Don't try to create a temp install without abs_top_builddir. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Don't try to create a temp install without abs_top_builddir.
Date
Msg-id E1ZgZp5-0007OL-Tm@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/45e5b4ef5c392ddfcd72693f65659bafdda7ee1b

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


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Don't try to create a temp install without abs_top_builddir.
Next
From: Robert Haas
Date:
Subject: pgsql: Use LOCKBIT_ON() instead of a bit shift in a few places.