]> 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:40 +0000 (02:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Jan 2006 02:58:40 +0000 (02:58 +0000)
commit5d0def8d5273da8972b673ff76ddbe025b693e7b
treed0382fb0999af5042fb61daa40ed626983439665
parent240112222cff3c72df900dafaf4be9eefd3bd063
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