pgsql: Abort authentication if the client selected an invalid SASL mech

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Abort authentication if the client selected an invalid SASL mech
Date: 2017-05-25 12:51:16
Message-ID: E1dDsEW-0007ZV-6M@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Abort authentication if the client selected an invalid SASL mechanism.

Previously, the server would log an error, but then try to continue with
SCRAM-SHA-256 anyway.

Michael Paquier

Discussion: https://www.postgresql.org/message-id/CAB7nPqR0G5aF2_kc_LH29knVqwvmBc66TF5DicvpGVdke68nKw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/505b5d2f8672f13c98dd744a6d421da14f59cd39

Modified Files
--------------
src/backend/libpq/auth.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-25 15:18:07 pgsql: Fix whitespace
Previous Message Peter Eisentraut 2017-05-24 23:55:43 pgsql: Fix table syncing with different column order