Possible bug in util/iobuf.c:iobuf_open on Solaris

Adam Mitchell adam at cafe21.org
Mon Feb 21 20:50:34 CET 2000


fopen is returning EOVERFLOW on a large file.  The SunOS man page for
fopen says:
EOVERFLOW The current value of the file position  cannot  be
          represented correctly in an object of type fpos_t.

truss gpg filename says:
...
open("madrid-root.ufs.pgp", O_RDONLY) Err#79 EOVERFLOW
...

While attempting to decrypt a large (3+GB) file in Solaris 2.7 I get the
following error:

bash-2.03$ gpg madrid-root.ufs.pgp 
gpg: Warning: using insecure memory!
gpg: can't open `madrid-root.ufs.pgp'

The file exists:
bash-2.03$ ls -l madrid-root.ufs.pgp 
-rw-r--r--   1 root     other    3039360985 Feb 21 20:01
madrid-root.ufs.pgp

My `uname -a`:
SunOS madrid 5.7 Generic_106541-06 sun4u sparc SUNW,Ultra-5_10

My `gpg --version`:
bash-2.03$ gpg --version
gpg (GnuPG) 1.0.1
Copyright (C) 1999 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Cipher: 3DES, CAST5, BLOWFISH, TWOFISH
Pubkey: ELG-E, DSA, ELG
Hash: MD5, SHA1, RIPEMD160




More information about the Gnupg-devel mailing list