Microsoft Distributed Transaction Coordinator Leaks Handles When It Deals with Long String in TIP Transaction (314966)
The information in this article applies to:
- Microsoft COM+ 1.0, when used with:
- the operating system: Microsoft Windows 2000
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
STATUSMicrosoft 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.
Modification Type: | Major | Last Reviewed: | 6/5/2003 |
---|
Keywords: | kbbug kbDTC kbfix kbWin2000PreSP3Fix kbWin2000sp3fix KB314966 |
---|
|