GnuPG 1.9.95: gpg2 segfaults on build test

Hirohisa Yamaguchi umq.461 at gmail.com
Sat Nov 11 13:00:24 CET 2006


At Fri, 10 Nov 2006 11:44:53 +0100,
Werner Koch wrote:
> 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.

Here I attach a set of patch to avoid ``incompatible pointer type'' warnings.
I'm not sure if this causes any side-effects.


-- 
end

	Hirohisa Yamaguchi
	  umq.461 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnupg-1.9.95.patch
Type: application/octet-stream
Size: 6914 bytes
Desc: not available
Url : /pipermail/attachments/20061111/52f3d5ef/gnupg-1.9.95.obj


More information about the Gnupg-devel mailing list