Fix Windows shell argument quoting.

Noah Misch <noah@leadboat.com>

Commit: 2d69f5b12e5a99eea7bc175fa30e612384bf9e52
Author: Noah Misch <noah@leadboat.com>
Date: 2016-08-08T14:07:54Z
Releases: 9.1.23
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

Files

PathChange+/−
src/bin/pg_dump/pg_dumpall.c modified +47 −5