Article ID: 305601 - Last Review: March 29, 2007 - Revision: 8.2 MS01-060: FIX: CRT string format functions may underwrite bufferThis article was previously published under Q305601 On This PageSYMPTOMS Some CRT string format functions may cause an access
violation, stack overflow, or stack corruption due to buffer underwrites.
CAUSE When a printf-style function performs integer or floating-point conversion, it
uses an internal buffer to convert the number into a string. If the
user-supplied Precision property is greater than the internal buffer size, the conversion
writes outside the boundaries of that buffer because the values on the stack
are always the same regardless of the underrun values, and these values cannot
be changed. RESOLUTIONNote All of the hotfixes listed below require you to restart the
computer after installation. Visual C++The Visual C++ 6.0 version of this fix is available at the following Microsoft Developer Network (MSDN) Web site:http://msdn2.microsoft.com/en-us/vstudio/aa718354.aspx
(http://msdn2.microsoft.com/en-us/vstudio/aa718354.aspx)
The English version of this fix should have the following file
attributes or later:
Collapse this table
Windows XPTo 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
(http://support.microsoft.com/kb/322389/
)
How to obtain the latest Windows XP service pack
The following files are available for download from the Microsoft
Download Center:English (US): The English version of
this fix should have the following file attributes or later:
Collapse this image ![]() For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
English (US) (64-bit): Collapse this image ![]() Chinese (Simplified): Collapse this image ![]() Chinese (Traditional): Collapse this image ![]() Czech: Collapse this image ![]() Danish: Collapse this image ![]() Dutch: Collapse this image ![]() Finnish: Collapse this image ![]() French: Collapse this image ![]() French (64-bit): Collapse this image ![]() German: Collapse this image ![]() German (64-bit): Collapse this image ![]() Greek: Collapse this image ![]() Hungarian: Collapse this image ![]() Italian: Collapse this image ![]() Japanese: Collapse this image ![]() Japanese (64-bit): Collapse this image ![]() Korean: Collapse this image ![]() Norwegian: Collapse this image ![]() Polish: Collapse this image ![]() Portuguese: Collapse this image ![]() Portuguese (Brazil): Collapse this image ![]() Russian: Collapse this image ![]() Spanish: Collapse this image ![]() Swedish: Collapse this image ![]() Turkish: Collapse this image ![]() Collapse this table
Windows 2000To 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
(http://support.microsoft.com/kb/260910/
)
How to obtain the latest Windows 2000 service pack
The following files are available for download from the Microsoft
Download Center:English (US): The English version of
this fix should have the following file attributes or later:
Collapse this image ![]() Chinese (Simplified): Collapse this image ![]() Chinese (Traditional): Collapse this image ![]() German: Collapse this image ![]() Italian: Collapse this image ![]() Japanese: Collapse this image ![]() Korean: Collapse this image ![]() Spanish: Collapse this image ![]() Collapse this table
Windows NT 4.0A 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 you determine are at risk of attack. Evaluate the computer's physical accessibility, network and Internet connectivity, and other factors to determine the degree of risk to the computer. See the associated Microsoft Security Bulletin (http://www.microsoft.com/technet/security/Bulletin/MS01-060.mspx) to help determine the degree of risk. This hotfix may receive additional testing. If the computer is sufficiently at risk, we recommend that you apply this hotfix now.To resolve this problem immediately, download the hotfix by following the instructions later in this article or 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: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
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
following files are available for download from the Microsoft Download
Center:English (US): For additional information about how
to download Microsoft Support files, click the following article number to view
the article in the Microsoft Knowledge Base: Collapse this image ![]() Chinese (Simplified): Collapse this image ![]() Chinese (Traditional): Collapse this image ![]() German: Collapse this image ![]() Italian: Collapse this image ![]() Japanese: Collapse this image ![]() Korean: Collapse this image ![]() Spanish: Collapse this image ![]() 119591
(http://support.microsoft.com/kb/119591/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
STATUSWindows XPMicrosoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows XP. This problem was first corrected in Windows XP Service Pack 1.Windows 2000Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 3.Windows NT 4.0Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows NT 4.0.Visual C++Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Visual C++.MORE INFORMATION For more information about this vulnerability, see the
following Microsoft Web site: http://www.microsoft.com/technet/security/Bulletin/MS01-060.mspx
(http://www.microsoft.com/technet/security/Bulletin/MS01-060.mspx)
APPLIES TO
| Article Translations
|
Back to the top

