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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix Windows-only postmaster code to reject a connection request
Date
Msg-id 20060106025833.326BF9DC9FF@postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix Windows-only postmaster code to reject a connection request
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix Windows-only postmaster code to reject a connection request