GnuPG 1.9.95: gpg2 segfaults on build test

Hirohisa yamaguchi umq.461 at
Fri Nov 10 14:45:08 CET 2006

At Fri, 10 Nov 2006 11:44:53 +0100,
Werner Koch wrote:
> On Tue,  7 Nov 2006 17:16, umq.461 at said:
> Well, sitting at the SFScon at Bozen, Marcus and me tracked down the
> bug.  It is very easy to fix and actually an oversight when I wrote
> mpi_read.  It reveals it self only on 64 bit machines because there
> sizeof(unsigned int) != sizeof(size_t).  gcc should have emitted a
> warning when compiling on 64 bit. I agree that gnupg is a lot of code
> and such warnings are easily overlooked.

> I attach a patch.  Most of it is just re-indentation.

It looks okay, thanks.


	Hirohisa Yamaguchi
	  umq.461 at

More information about the Gnupg-devel mailing list