Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()
Jacob Champion <jchampion@timescale.com>
From: Jacob Champion <jchampion@timescale.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2023-02-22T21:09:25Z
Lists: pgsql-hackers
On Wed, Feb 22, 2023 at 11:43 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote: > I separated the earlier message-length checks so that you get "invalid > invalid authentication request" or "received invalid protocol > negotiation message", depending on whether it was an 'R' or 'v' message. > With that, "invalid invalid authentication request" becomes translatable > anyway, which makes the point on translation overhead moot. I added a > comment to mention that it's unreachable, though. Looks good, thank you! --Jacob
Commits
-
Check for unbounded authentication exchanges in libpq.
- 5e044471a1aa 16.0 landed