pgsql: Sort out paired double quotes in \connect, \password and \crosst

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Sort out paired double quotes in \connect, \password and \crosst
Date: 2016-08-08 14:10:48
Message-ID: E1bWlGS-0006on-J8@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Sort out paired double quotes in \connect, \password and \crosstabview.

In arguments, these meta-commands wrongly treated each pair as closing
the double quoted string. Make the behavior match the documentation.
This is a compatibility break, but I more expect to find software with
untested reliance on the documented behavior than software reliant on
today's behavior. Back-patch to 9.1 (all supported versions).

Reviewed by Tom Lane and Peter Eisentraut.

Security: CVE-2016-5424

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0cc3b12d284fb0e693abfd24e3950a19d3478380

Modified Files
--------------
src/bin/psql/psqlscan.l | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-08-08 14:34:05 pgsql: Fix two errors with nested CASE/WHEN constructs.
Previous Message Peter Eisentraut 2016-08-08 13:28:05 pgsql: doc: Update benchmark results