Microsoft KB Archive/308320

From BetaArchive Wiki

Article ID: 308320

Article Last Modified on 1/31/2007



APPLIES TO

  • Microsoft Windows XP Professional for Itanium-based systems
  • Microsoft Windows XP Professional for Itanium-based systems
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Media Center Edition 2002
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2



This article was previously published under Q308320

SYMPTOMS

If you are developing a Component Object Model (COM) object and you run your program with a run-time analysis tool to check memory allocations, the tool may report an array or memory-limit violation against the LookupAccountNameW function.

In theory, memory can be overwritten if you call the QueryInterface function on a COM object that runs in a local server if the computer is a member of a domain whose name is longer than 127 characters. In practice, this behavior is unlikely to occur because domain names must not exceed 64 UTF-8 bytes in order for Group Policy to function. See the "More Information" section in this article for additional information.

CAUSE

The problem occurs during a Local Remote Procedure Call (LRPC) while an authenticated server binding is being created. The LookupAccountName function is called to determine the user security identifier (SID), but is given an incorrect value for the domain name length.

RESOLUTION

Windows 2000

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


The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   05-Oct-2001  14:20  5.0.2195.4374     992,528  Ole32.dll        
   05-Oct-2001  14:20  5.0.2195.4474     428,304  Rpcrt4.dll       
   05-Oct-2001  14:20  5.0.2195.4453     185,616  Rpcss.dll      
                

Windows XP

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Windows XP SP1 (including Windows XP Tablet PC Edition and Windows XP Media Center Edition)

   Date         Time   Version         Size     File name
   --------------------------------------------------------------
   17-Apr-2003  14:25  5.1.2600.1207   505,856  Rpcrt4.dll       

Windows XP 64-Bit Edition Version 2002

   Date         Time   Version        Size       File name
   ----------------------------------------------------------------
   17-Apr-2003  14:25  5.1.2600.1207  2,297,856  Rpcrt4.dll  IA64
   16-Apr-2003  22:02  5.1.2600.1207    506,880  Wrpcrt4.dll X86



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 domain name length limits, click the article number below to view the article in the Microsoft Knowledge Base:

245809 Windows 2000 Supports Fully Qualified Domain Names up to 64 UTF-8 Bytes Long


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 following article number to view the article in the Microsoft Knowledge Base:

296861 How to Install Multiple Windows Updates or Hotfixes with Only One Reboot


For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes



Additional query words: kbNetworking corruption

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbnetwork kbhotfixserver KB308320