Microsoft KB Archive/314966

= Microsoft Distributed Transaction Coordinator Leaks Handles When It Deals with Long String in TIP Transaction =

Article ID: 314966

Article Last Modified on 6/5/2003

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q314966



SYMPTOMS
When the Transaction Internet Protocol (TIP) command parser reads a continuous string of more than 1,024 bytes, if that string does not contain an intervening \r or \n character, Microsoft Distributed Transaction Coordinator (MS DTC) leaks file handles and memories.



CAUSE
This problem occurs because the TIP connection cannot predict the incoming buffer size, and the TIP specification does not limit the size of a command. Therefore, the TIP command parser assumes a reasonable, fixed buffer size of 1,024 bytes.

If the TIP command parser encounters a string of more than 1,024 bytes, the parser holds on to the buffer, does not parse the string, and does not post another read to the socket. As a result, the TIP command parser does not release the resources that are associated with the buffer (such as file handles and memories).



RESOLUTION
To resolve this problem, obtain Microsoft COM+ Hotfix Rollup 19. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

318105 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 19

This fix disconnects when the TIP command parser does not receive a command termination character within 1,024 characters. According to the TIP specification, any parser ignores multiple spaces.

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Additional query words: kbIISCom kbWin2000preSP3COMRollup19Fix

Keywords: kbbug kbdtc kbfix kbwin2000presp3fix kbwin2000sp3fix KB314966

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.