possible bug with --batch and 1.4.2

Tobias Roth randomiadgf at fsck.ch
Thu Aug 4 22:01:52 CEST 2005

On Thu, 4 Aug 2005 09:07:24 -0400
David Shaw <dshaw at jabberwocky.com> wrote:

> > I tried out the --batch example from the DETAILS file (search for
> > 'foo' in that file to find the example). This is what I got:
> > 
> > Assertion failed: (pkt->pkt.generic), function build_packet, file
> > build-packet.c , line 74.
> > 
> > The same example seems to work with 1.4.1. The systems tested are
> > FreeBSD 5.4-STABLE and 6.0-BETA1, I was not able to test on a
> > different system, so I cannot say if this is OS specific.
> Try this patch.

The patch doesn't apply, it's off by too many lines. After fixing this
however, I can't link because xmalloc_clear is not known. After adding
a dummy #define for xmalloc_clear in include/memory.h, things work out
fine. Thanks!

What's the next version that will include this fix? Should I notify the
FreeBSD GnuPG port maintainer so he can add this patch to the 1.4.2
port until the next version will be released?

thanks, t.

More information about the Gnupg-devel mailing list