]> granicus.if.org Git - postgresql/commit
Lock down regression testing temporary clusters on Windows.
authorNoah Misch <noah@leadboat.com>
Thu, 18 Dec 2014 03:48:40 +0000 (22:48 -0500)
committerNoah Misch <noah@leadboat.com>
Thu, 18 Dec 2014 03:48:40 +0000 (22:48 -0500)
commitf6dc6dd5ba54d52c0733aaafc50da2fbaeabb8b0
tree4cba95a8ca5f305feac60ead92f8fdd3519311aa
parentfc2ac1fb41c2defb8caf825781af75db158fb7a9
Lock down regression testing temporary clusters on Windows.

Use SSPI authentication to allow connections exclusively from the OS
user that launched the test suite.  This closes on Windows the
vulnerability that commit be76a6d39e2832d4b88c0e1cc381aa44a7f86881
closed on other platforms.  Users of "make installcheck" or custom test
harnesses can run "pg_regress --config-auth=DATADIR" to activate the
same authentication configuration that "make check" would use.
Back-patch to 9.0 (all supported versions).

Security: CVE-2014-0067
contrib/pg_upgrade/test.sh
doc/src/sgml/regress.sgml
src/Makefile.global.in
src/bin/pg_ctl/t/001_start_stop.pl
src/bin/pg_ctl/t/002_status.pl
src/test/perl/TestLib.pm
src/test/regress/pg_regress.c
src/tools/msvc/vcregress.pl