The VarDateFromStr() Function May Cause an Access Violation (291075)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Server, Enterprise Edition 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q291075

SYMPTOMS

Calling the VarDateFromStr function may cause an access violation in Oleaut32.dll when you pass certain values in certain formats.

CAUSE

This issue occurs because a member variable is overrun and corrupts the member variable immediately following it. The access violation occurs when the corrupted member is dereferenced.

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 should have the following file attributes or later:
   Date        Time      Version     Size       File name
   ----------------------------------------------------- 
   5/1/2001	  05:47p	2.40.4518.0	 143,632	Asycfilt.dll
   5/1/2001	  05:47p	2.40.4518.0	 626,960	Oleaut32.dll
   5/1/2001	  05:47p	5.0.4518.0	 164,112	Olepro32.dll
   5/1/2001	  05:43p	2.40.4518.0	  16,896	Stdole2.tlb 
				

Use the Q291075_w2k_sp3_x86_en.exe package to install this hotfix.

Windows NT 4.0

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone 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 should have the following file attributes or later:
   Date        Time   Version      Size     File name
   -----------------------------------------------------
   05/01/2001  20:43  2.40.4518.0  188,416  Asycfilt.dll
   05/01/2001  20:43  2.40.4518.0  929,792  Oleaut32.dll
   05/01/2001  20:43  5.0.4518.0   229,376  Olepro32.dll
				

Use the Q291075i.exe package to install this hotfix.

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

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


Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbWin2000PreSP3Fix kbWin2000sp3fix KB291075