GetNtmsObjectAttribute Does Not Return Correct Size When the Buffer Is Too Small (313147)
The information in this article applies to:
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
This article was previously published under Q313147 SYMPTOMS
When the GetNtmsObjectAttribute function is called and the buffer is too small, an ERROR_INSUFFICIENT_BUFFER error is returned with the wrong value.
CAUSE
The array in the GetNtmsObjectAttribute call, is defined as a conforment array. When the API is called, the array size is set at runtime as to what the caller sets it to. When the server side sets the size to a higher value for the return argument, the RPC runtimes determine that it is an out-of-bounds error.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
322389 How to Obtain the Latest Windows XP Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
-------------------------------------------------------
14-Feb-2002 12:42pm 5.1.2600.28 165,888 Ntmsdba.dll
14-Feb-2002 12:42pm 5.1.2400.28 38,400 Ntmsapi.dll
14-Feb-2002 12:42pm 5.1.2400.28 396,288 Ntmssvc.dll
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 XP Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbenv kberrmsg kbfix kbSysAdmin kbWinXPsp1fix KB313147 |
---|
|