malloc problem
Stéphane Corthésy
stephane at sente.ch
Thu May 30 19:23:02 CEST 2002
Hi,
Running gpg 1.0.7 on MacOS X 10.1.4, I noticed a malloc problems. I type
the following command:
gpg --debug 511 --charset utf-8 --no-force-v3-sigs --armor
--notation-data mycode=myvalue --clearsign
Then I enter my passphrase, the text to sign ("test") and CTRL-D, and
there is a (MacOS X specific) malloc warning. Can anyone reproduce the
problem on another system having a malloc-protection too (guard pages)?
Problem is due to the notation-data presence.
Cheers,
Stéphane
... [snipped]...
gpg: DBG: iobuf-7.0: underflow: eof
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
test
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf-8.1: push `armor_filter'
gpg: DBG: armor-filter: control: 5
gpg: DBG: iobuf chain: 8.1 `armor_filter' filter_eof=0 start=0 len=0
gpg: DBG: iobuf chain: 8.0 `file_filter(fd)' filter_eof=0 start=0 len=0
gpg: DBG: armor-filter: control: 1
*** malloc[4606]: Deallocation of a pointer not malloced: 0x20d2ff; This
could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug
gpg: DBG: mpi_alloc(160)
gpg: DBG: mpi_alloc_limb_space(160)
gpg: DBG: pubkey_sign: algo=17
...[snipped]...
More information about the Gnupg-devel
mailing list