Обсуждение: pgsql: Lock down regression testing temporary clusters on Windows.

Поиск
Список
Период
Сортировка

pgsql: Lock down regression testing temporary clusters on Windows.

От
Noah Misch
Дата:
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

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0046f651da3ef0b73c3e16672e1198607c2d2ce5

Modified Files
--------------
contrib/dblink/Makefile            |    3 +-
contrib/dblink/expected/dblink.out |    2 -
contrib/dblink/sql/dblink.sql      |    2 -
contrib/pg_upgrade/test.sh         |   15 +++-
doc/src/sgml/regress.sgml          |   13 ---
src/test/regress/pg_regress.c      |  175 ++++++++++++++++++++++++++++++++++++
src/tools/msvc/vcregress.pl        |   14 ++-
7 files changed, 200 insertions(+), 24 deletions(-)