subrepo: add tests for git rogue ssh urls (SEC)

Authored by smf.

Description

subrepo: add tests for git rogue ssh urls (SEC)

'ssh://' has an exploit that will pass the url blindly to the ssh
command, allowing a malicious person to have a subrepo with
'-oProxyCommand' which could run arbitrary code on a user's machine. In
addition, at least on Windows, a pipe '|' is able to execute arbitrary
commands.

When this happens, let's throw a big abort into the user's face so that
they can inspect what's going on.

Details

Committed
smfJul 31 2017, 5:55 PM
Parents
rHG60ee7af2a2ba: subrepo: add tests for svn rogue ssh urls (SEC)
Branches
Unknown
Tags
Unknown