Обсуждение: pgsql: Fix Windows-only postmaster code to reject a connection request

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

pgsql: Fix Windows-only postmaster code to reject a connection request

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix Windows-only postmaster code to reject a connection request and continue,
rather than elog(FATAL), when there is no more room in ShmemBackendArray.
This is a security issue since too many connection requests arriving close
together could cause the postmaster to shut down, resulting in denial of
service.  Reported by Yoshiyuki Asaba, fixed by Magnus Hagander.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.475.2.1 -> r1.475.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.475.2.1&r2=1.475.2.2)