diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2006-01-31 10:19:03 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2006-01-31 10:19:03 +0000 |
commit | 4642520f044beb240350338ee00862f58a91200b (patch) | |
tree | e9389c74fca3c0fe8187ec99fe239d1ecd6f61ca /usr.bin/ssh/misc.h | |
parent | efd59c8464a11bdf906696175b911ed746ad30e5 (diff) |
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 'usr.bin/ssh/misc.h')
-rw-r--r-- | usr.bin/ssh/misc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/ssh/misc.h b/usr.bin/ssh/misc.h index 41591068695..0a1a09a68ba 100644 --- a/usr.bin/ssh/misc.h +++ b/usr.bin/ssh/misc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.28 2005/12/08 18:34:11 reyk Exp $ */ +/* $OpenBSD: misc.h,v 1.29 2006/01/31 10:19:02 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -38,7 +38,11 @@ struct arglist { u_int num; u_int nalloc; }; -void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); +void addargs(arglist *, char *, ...) + __attribute__((format(printf, 2, 3))); +void replacearg(arglist *, u_int, char *, ...) + __attribute__((format(printf, 3, 4))); +void freeargs(arglist *); /* readpass.c */ |