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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix Windows-only postmaster code to reject a connection request
Date: 2006-01-06 02:58:41
Message-ID: 20060106025841.66D019DC9FC@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_0_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.443.4.4 -> r1.443.4.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.443.4.4&r2=1.443.4.5)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-01-06 02:59:59 pgsql: Release-note updates and copy editing.
Previous Message Tom Lane 2006-01-06 02:58:33 pgsql: Fix Windows-only postmaster code to reject a connection request