diff options
author | Damien Miller <djm@mindrot.org> | 2006-01-31 21:49:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-01-31 21:49:27 +1100 |
commit | 3eec6b73a2c446225fce546d61d83cfc695fbaa0 (patch) | |
tree | 425fe13ba7b751c6d9878eb592e2d6a014a468bd /misc.h | |
parent | b5dd55cccc7096d3db59378bba44920183f34110 (diff) |
- djm@cvs.openbsd.org 2006/01/31 10:19:02
[misc.c misc.h scp.c sftp.c]
fix local arbitrary command execution vulnerability on local/local and
remote/remote copies (CVE-2006-0225, bz #1094), patch by
t8m AT centrum.cz, polished by dtucker@ and myself; ok markus@
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.28 2005/12/08 18:34:11 reyk Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.29 2006/01/31 10:19:02 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -38,7 +38,11 @@ struct arglist { | |||
38 | u_int num; | 38 | u_int num; |
39 | u_int nalloc; | 39 | u_int nalloc; |
40 | }; | 40 | }; |
41 | void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); | 41 | void addargs(arglist *, char *, ...) |
42 | __attribute__((format(printf, 2, 3))); | ||
43 | void replacearg(arglist *, u_int, char *, ...) | ||
44 | __attribute__((format(printf, 3, 4))); | ||
45 | void freeargs(arglist *); | ||
42 | 46 | ||
43 | /* readpass.c */ | 47 | /* readpass.c */ |
44 | 48 | ||