diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-01-23 08:01:46 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-02-08 15:38:28 +0000 |
commit | 11b88754cadcad0ba79b4ffcc127223248dccb54 (patch) | |
tree | 2c9793f792675bc79de7f7a3bcae66cdfaa719ca /progressmeter.h | |
parent | dee21e97428e69d30e2d15c71f3e7cc08bf8e4f8 (diff) |
upstream: Sanitize scp filenames via snmprintf. To do this we move
the progressmeter formatting outside of signal handler context and have the
atomicio callback called for EINTR too. bz#2434 with contributions from djm
and jjelen at redhat.com, ok djm@
OpenBSD-Commit-ID: 1af61c1f70e4f3bd8ab140b9f1fa699481db57d8
CVE-2019-6109
Origin: backport, https://anongit.mindrot.org/openssh.git/commit/?id=8976f1c4b2721c26e878151f52bdf346dfe2d54c
Bug-Debian: https://bugs.debian.org/793412
Last-Update: 2019-02-08
Patch-Name: sanitize-scp-filenames-via-snmprintf.patch
Diffstat (limited to 'progressmeter.h')
-rw-r--r-- | progressmeter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progressmeter.h b/progressmeter.h index bf179dca6..8f6678060 100644 --- a/progressmeter.h +++ b/progressmeter.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: progressmeter.h,v 1.3 2015/01/14 13:54:13 djm Exp $ */ | 1 | /* $OpenBSD: progressmeter.h,v 1.4 2019/01/23 08:01:46 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002 Nils Nordman. All rights reserved. | 3 | * Copyright (c) 2002 Nils Nordman. All rights reserved. |
4 | * | 4 | * |
@@ -24,4 +24,5 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | void start_progress_meter(const char *, off_t, off_t *); | 26 | void start_progress_meter(const char *, off_t, off_t *); |
27 | void refresh_progress_meter(void); | ||
27 | void stop_progress_meter(void); | 28 | void stop_progress_meter(void); |