]> granicus.if.org Git - postgresql/commit
Fix Windows-only postmaster code to reject a connection request and continue,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jan 2006 02:58:32 +0000 (02:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jan 2006 02:58:32 +0000 (02:58 +0000)
commitc6289309669e5b3892816e0719afbce797598f54
tree30fd6e90156d3f1bd55ec4fe09cf9a0e888052ef
parent9395f4911ae577aed180667e26fcba05ec699cad
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.
src/backend/postmaster/postmaster.c