Tricky gpgme_wait bug.
Marcus Brinkmann
marcus.brinkmann at ruhr-uni-bochum.de
Thu May 5 13:38:33 CEST 2005
At Mon, 25 Apr 2005 13:51:58 -0400,
Igor Belyi <gpgme at katehok.ac93.org> wrote:
> > The extra sleep between gpgme_wait causes _gpgme_io_select to get
> > signal on more than one file handler for the same context. As a result
> > an error reported on the first handle causes all context handlers to
> > be closed and the associated data released. When the second selected
> > handle get processed it causes segmentation fault.
>
> And just to reply to myself, attached is a proposed patch fixing the
> problem.
Good catch. There is another bug in wait-global that needs fixing,
too, and I will provide a combined solution very soon now.
Thanks,
Marcus
More information about the Gnupg-devel
mailing list