git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a1f8b6b) | patch
Sort out paired double quotes in \connect, \password and \crosstabview.
Mon, 8 Aug 2016 14:07:46 +0000 (10:07 -0400)
Mon, 8 Aug 2016 14:07:46 +0000 (10:07 -0400)
commit 984e5beb38a7c79a5a9243865d9598c405df17f6
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
src/bin/psql/psqlscanslash.l diff | blob | blame | history
src/test/regress/expected/psql_crosstab.out diff | blob | blame | history
src/test/regress/sql/psql_crosstab.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /