diff options
author | Colin Watson <cjwatson@debian.org> | 2019-02-08 15:41:19 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-02-08 16:24:58 +0000 |
commit | bbf87fe18360e9dabdeb9af0cadff0f8087a5492 (patch) | |
tree | 6aba9afdccceb18a863f0fc6c89d3ec06a2961ac /scp.c | |
parent | d6448492718c5e1174323eebcc696364e96d5047 (diff) | |
parent | 2a8f710447442e9a03e71c022859112ec2d77d17 (diff) |
Sanitize scp filenames via snmprintf
CVE-2019-6109
Closes: #793412
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -593,6 +593,7 @@ scpio(void *_cnt, size_t s) | |||
593 | off_t *cnt = (off_t *)_cnt; | 593 | off_t *cnt = (off_t *)_cnt; |
594 | 594 | ||
595 | *cnt += s; | 595 | *cnt += s; |
596 | refresh_progress_meter(0); | ||
596 | if (limit_kbps > 0) | 597 | if (limit_kbps > 0) |
597 | bandwidth_limit(&bwlimit, s); | 598 | bandwidth_limit(&bwlimit, s); |
598 | return 0; | 599 | return 0; |