[ libetpan-Bugs-3147644 ] HANDLE leaks on Windows

"SourceForge.net" <[email protected]> Wed, 29 Dec 2010 16:08:32 +0000
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Bugs item #3147644, was opened at 2010-12-29 19:08
Message generated for change (Tracker Item Submitted) made by perminov
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3147644&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SMTP
Group: Latest stable - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sergey Perminov (perminov)
Assigned to: Nobody/Anonymous (nobody)
Summary: HANDLE leaks on Windows

Initial Comment:
CreateEvent call returns HANDLE object
This HANDLE must be closed otherwise HANDLE leakage will occur (it leads to non-paged pool exhaustion).


in mailstream_socket.c and in mailstream_ssl.c
CloseHandle(event) must be called after WaitForMultipleObjects()


This fix must be done for both read and write operations.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3147644&group_id=41064

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl