diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-06-27 20:42:20 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-06-27 20:42:20 +0000 |
commit | fb38d9124799bad843d692eb8a6ca910e97265a2 (patch) | |
tree | e6be8d0e75108e9836f7c04a12afd7d3a71f4c22 /usr.bin/cvs/remote.h | |
parent | 1a08b82585d709555dde68430d96d1c2b0eccc4c (diff) |
have the server be more strict about the requests the client
sends that need a 'Directory' request first, so we do not
end up with very weird and possibly insecure behaviour.
more soon!
ok niallo@ ray@ xsa@
Diffstat (limited to 'usr.bin/cvs/remote.h')
-rw-r--r-- | usr.bin/cvs/remote.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/remote.h b/usr.bin/cvs/remote.h index 588acd80b66..08d537f8625 100644 --- a/usr.bin/cvs/remote.h +++ b/usr.bin/cvs/remote.h @@ -1,4 +1,4 @@ -/* $OpenBSD: remote.h,v 1.21 2007/06/26 02:24:10 niallo Exp $ */ +/* $OpenBSD: remote.h,v 1.22 2007/06/27 20:42:19 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -35,6 +35,8 @@ struct cvs_resp { }; #define REQ_NEEDED 0x01 +#define REQ_NEEDDIR 0x02 + #define RESP_NEEDED 0x01 extern int server_response; |