The information in this article applies to:
SYMPTOMS
The CreateRemoteThread application programming interface (API) may leak a handle when it is unsuccessful and return a null handle. This increases a handle count of the process that calls the CreateRemoteThread function. Because the handle is null, the calling process cannot close the handle, which results in a memory leak.
CAUSEThe CreateRemoteThread function first successfully creates a thread where it creates a thread handle. If the function is unsuccessful in the later stages of processing, the created thread is terminated and the open handle to this thread is not closed. This open handle causes a memory leak. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next Windows NT 4.0 service pack
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later:
STATUSMicrosoft has confirmed this to be a problem in Windows NT 4.0. Additional query words:
Keywords : kbenv |
Last Reviewed: November 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |