[Gpg4win-devel] Kleopatra crashes after a couple of service requests.

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Mon Nov 12 12:25:33 CET 2007


At Mon, 22 Oct 2007 16:39:44 +0200,
Frank Osterfeld <frank at kdab.net> wrote:
> 
> [1  <text/plain; iso-8859-1 (quoted-printable)>]
> On Monday 22 October 2007 12:17:00 Werner Koch wrote:
> > Hi,
> >
> > the current Kleopatra fails an assertion check in gpgme/w32-wt-io.cpp,
> > line 102.  This happens after about 20 connections even if no work is
> > done (i.e just an GETINFO and NOP).
> >
> >   #define MAX_SLAFD 1024
> >
> >   assert( fd < MAX_SLAFD );
> >   if (fd < 0 || fd >= MAX_SLAFD)
> >     return NULL;
> >
> > Seems that file descriptors are not closed or system handles are used
> > (which may have arbitrary values as they are pointers).
> 
> Here's a fix better than the first try (which still is in the moderation 
> queue). It fixes kdpipeiodevice usage outside of gpgme (but should be in 
> gpgme to keep the versions in sync).

Hi,

I applied this patch now, thank you.  Sorry for the late response, I
flagged this mail and then forgot about it :( probably because it did
not affect anything for us.

Thanks,
Marcus




More information about the Gpg4win-devel mailing list