HomePhabricator

tests: Add a test for SCP with protocol message injection

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Nov 4 2019, 5:06 PM.

Description

tests: Add a test for SCP with protocol message injection

Test if the file name is correctly escaped to avoid protocol message
injection.

Fixes T189

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit cc9db5b56c9775a599de1288206c941c4c40aa2a)

Details

Committed
asnDec 9 2019, 4:38 PM
Parents
rLIBSSHd117de188f3a: scp: Do not allow newlines in pushed files names
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task