]> 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:25 +0000 (02:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jan 2006 02:58:25 +0000 (02:58 +0000)
commita7812eb4bec402423c2e8bc5a6a683d5e9191548
treeb3c0b7eff27220b6301e3f36d43e8c275022f504
parentbf7faa7c8f7dbddc060e6b132019e598af53066f
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