diff options
author | David Shaw <[email protected]> | 2004-02-18 23:09:27 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-02-18 23:09:27 +0000 |
commit | 6c13b96a1dd639d1f90f1c5f9aa13eca2f8f405a (patch) | |
tree | 9592c192312c2b486c3de3f39426aeb4fe0cde80 /g10/options.h | |
parent | * gpgkeys_ldap.c (ldap_to_gpg_err): Make sure that LDAP_OPT_ERROR_NUMBER (diff) | |
download | gnupg-6c13b96a1dd639d1f90f1c5f9aa13eca2f8f405a.tar.gz gnupg-6c13b96a1dd639d1f90f1c5f9aa13eca2f8f405a.zip |
* options.h, g10.c (main), plaintext.c (handle_plaintext): Add
--max-output option to help people deal with decompression bombs.
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/options.h b/g10/options.h index aa7c244f8..ea5dd13be 100644 --- a/g10/options.h +++ b/g10/options.h @@ -1,6 +1,6 @@ /* options.h - * Copyright (C) 1998, 1999, 2000, 2001, 2002, - * 2003 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, + * 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -21,6 +21,7 @@ #ifndef G10_OPTIONS_H #define G10_OPTIONS_H +#include <sys/types.h> #include <types.h> #include "main.h" #include "packet.h" @@ -43,6 +44,7 @@ struct { unsigned debug; int armor; char *outfile; + off_t max_output; int dry_run; int list_only; int textmode; |