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

Werner Koch wk at gnupg.org
Mon Oct 22 12:17:00 CEST 2007


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).


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gpg4win-devel mailing list