pgsql: Fix Windows shell argument quoting. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Fix Windows shell argument quoting.
Date
Msg-id E1bWlGS-0006oW-HW@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix Windows shell argument quoting.

The incorrect quoting may have permitted arbitrary command execution.
At a minimum, it gave broader control over the command line to actors
supposed to have control over a single argument.  Back-patch to 9.1 (all
supported versions).

Security: CVE-2016-5424

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/395d565ac76b6fe5a9a97fb5e87e0d0842ba9824

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c | 52 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 47 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Promote pg_dumpall shell/connstr quoting functions to src/fe_uti
Next
From: Noah Misch
Date:
Subject: pgsql: Promote pg_dumpall shell/connstr quoting functions to src/fe_uti