aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ringedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-03 12:09:20 +0000
committerWerner Koch <[email protected]>1998-02-03 12:09:20 +0000
commit899b8378eca7a3801d02bab5fb4cd13dfb6a8595 (patch)
tree71b685933a39dfbdc7d6801775dc2c6ff99aeddf /g10/ringedit.c
parentchanged structure of trustdb (diff)
downloadgnupg-899b8378eca7a3801d02bab5fb4cd13dfb6a8595.tar.gz
gnupg-899b8378eca7a3801d02bab5fb4cd13dfb6a8595.zip
Fixed a few bugs
Diffstat (limited to 'g10/ringedit.c')
-rw-r--r--g10/ringedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/ringedit.c b/g10/ringedit.c
index ad5706c1e..61f915c17 100644
--- a/g10/ringedit.c
+++ b/g10/ringedit.c
@@ -680,6 +680,7 @@ keyring_delete( KBPOS *kbpos )
}
len = kbpos->length;
+ assert( len < 100000 ); /* there is a bug somewhere */
/*log_debug("writing a dummy packet of length %lu\n", (ulong)len);*/
if( len < 2 )