OSDN Git Service

Guard against send-lots-and-lots-of-data DoS attack from unauthenticated
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 Sep 2002 23:31:35 +0000 (23:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 Sep 2002 23:31:35 +0000 (23:31 +0000)
commit3f63787cbfe0f1e837c92cd8ac35fd7ab811c18b
tree8fed7ef5dcf0af783bda9301eb664883e8c8eb83
parentc5214b9f6cf7b0a998c96c9be9c828aec3bc18cf
Guard against send-lots-and-lots-of-data DoS attack from unauthenticated
users, by limiting the length of string we will accept for a password.
Patch by Serguei Mokhov, some editorializing by Tom Lane.
src/backend/libpq/auth.c
src/backend/libpq/be-secure.c
src/backend/libpq/pqcomm.c
src/backend/libpq/pqformat.c
src/include/libpq/libpq.h
src/include/libpq/pqformat.h