diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-26 22:41:28 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-27 09:42:39 +1100 |
commit | 391ffc4b9d31fa1f4ad566499fef9176ff8a07dc (patch) | |
tree | 58ebbdac03a5cfe199f0edc3eedb36af756cd6d9 /kex.c | |
parent | c2c18a39683db382a15b438632afab3f551d50ce (diff) |
upstream: check in scp client that filenames sent during
remote->local directory copies satisfy the wildcard specified by the user.
This checking provides some protection against a malicious server
sending unexpected filenames, but it comes at a risk of rejecting wanted
files due to differences between client and server wildcard expansion rules.
For this reason, this also adds a new -T flag to disable the check.
reported by Harry Sintonen
fix approach suggested by markus@;
has been in snaps for ~1wk courtesy deraadt@
OpenBSD-Commit-ID: 00f44b50d2be8e321973f3c6d014260f8f7a8eda
Diffstat (limited to 'kex.c')
0 files changed, 0 insertions, 0 deletions