FIX: The stream operator (>>) does not correctly handle an integer-comma combination in Visual C++ 2005 (915697)
The information in this article applies to:
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Express Edition
- Microsoft Visual C++ 2005 Express Edition
SYMPTOMSThe stream operator (>>) does not correctly handle an integer-comma combination in Microsoft Visual C++ 2005. If you have a buffer defined and then you try to stream the integer into an integer variable, the variable is not updated. For example, this behavior may occur when you use the following code example. int nTmp=-3;
char cTmp1= '0';
char cTmp2= '0';
char buf[]= "{5, "
istringstream ist(buf);
ist >> cTmp1;
ist >> nTmp;
ist >> cTmp2;
RESOLUTIONA 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 Visual Studio 2005 service pack that contains this hotfix. To resolve this problem immediately, 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. PrerequisitesNo prerequisites are required. Restart informationYou do not have to restart the computer after you apply this hotfix. Registry informationYou do not have to change the registry after you apply this hotfix. File information
The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel. Visual Studio 2005 for 32-bit systems|
8.0.50727.91.policy | Not Applicable | 722 | 23-Mar-2006 | 11:14 | | Amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_3fef51e7.manifest | Not Applicable | 1,870 | 23-Mar-2006 | 16:07 | | Amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_296d9886.manifest | Not Applicable | 1,878 | 23-Mar-2006 | 16:07 | | Ia64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_3d4052a7.manifest | Not Applicable | 1,869 | 23-Mar-2006 | 16:24 | | Ia64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_26be9946.manifest | Not Applicable | 1,877 | 23-Mar-2006 | 16:24 | | Istream | Not Applicable | 36,878 | 23-Mar-2006 | 12:47 | | Libcmt.lib | Not Applicable | 548,268 | 23-Mar-2006 | 12:47 | | Libcmtd.lib | Not Applicable | 775,608 | 23-Mar-2006 | 12:47 | | Libcpmt.lib | Not Applicable | 2,459,694 | 23-Mar-2006 | 12:48 | | Libcpmtd.lib | Not Applicable | 2,589,314 | 23-Mar-2006 | 12:48 | | Microsoft.vc80.crt.manifest | Not Applicable | 522 | 23-Mar-2006 | 10:48 | | Microsoft.vc80.debugcrt.manifest | Not Applicable | 531 | 23-Mar-2006 | 17:29 | | Microsoft_vc80_atl_x86.msm | Not Applicable | 146,432 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_atl_x86_ia64.msm | Not Applicable | 167,424 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_atl_x86_x64.msm | Not Applicable | 123,904 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_crt_x86.msm | Not Applicable | 621,056 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_crt_x86_ia64.msm | Not Applicable | 2,476,032 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_crt_x86_x64.msm | Not Applicable | 1,799,680 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_debugcrt_x86.msm | Not Applicable | 2,161,152 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_debugcrt_x86_ia64.msm | Not Applicable | 3,983,872 | 23-Mar-2006 | 19:47 | | Microsoft_vc80_debugcrt_x86_x64.msm | Not Applicable | 2,287,104 | 23-Mar-2006 | 19:46 | | Microsoft_vc80_debugmfc_x86.msm | Not Applicable | 4,260,864 | 23-Mar-2006 | 19:47 | | Microsoft_vc80_debugmfc_x86_ia64.msm | Not Applicable | 9,189,888 | 23-Mar-2006 | 19:48 | | Microsoft_vc80_debugmfc_x86_x64.msm | Not Applicable | 4,863,488 | 23-Mar-2006 | 19:47 | | Microsoft_vc80_debugopenmp_x86.msm | Not Applicable | 113,664 | 23-Mar-2006 | 19:48 | | Microsoft_vc80_debugopenmp_x86_ia64.msm | Not Applicable | 151,040 | 23-Mar-2006 | 19:48 | | Microsoft_vc80_debugopenmp_x86_x64.msm | Not Applicable | 110,080 | 23-Mar-2006 | 19:48 | | Microsoft_vc80_mfcloc_x86.msm | Not Applicable | 140,800 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_mfcloc_x86_ia64.msm | Not Applicable | 137,728 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_mfcloc_x86_x64.msm | Not Applicable | 136,704 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_mfc_x86.msm | Not Applicable | 1,595,392 | 23-Mar-2006 | 19:48 | | Microsoft_vc80_mfc_x86_ia64.msm | Not Applicable | 5,818,880 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_mfc_x86_x64.msm | Not Applicable | 1,920,512 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_openmp_x86.msm | Not Applicable | 102,400 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_openmp_x86_ia64.msm | Not Applicable | 128,000 | 23-Mar-2006 | 19:49 | | Microsoft_vc80_openmp_x86_x64.msm | Not Applicable | 108,032 | 23-Mar-2006 | 19:49 | | Msdia80.dll | 8.0.50727.91 | 621,568 | 23-Mar-2006 | 14:25 | x86 | Msvcm80.dll | 8.0.50727.91 | 516,096 | 23-Mar-2006 | 10:57 | x64 | Msvcm80d.dll | 8.0.50727.91 | 1,015,808 | 23-Mar-2006 | 11:14 | x86 | Msvcmrt.lib | Not Applicable | 967,390 | 23-Mar-2006 | 11:13 | | Msvcmrtd.lib | Not Applicable | 1,273,218 | 23-Mar-2006 | 17:28 | | Msvcp80.dll | 8.0.50727.91 | 1,388,032 | 23-Mar-2006 | 11:01 | IA-64 | Msvcp80d.dll | 8.0.50727.91 | 3,229,184 | 23-Mar-2006 | 11:00 | IA-64 | Msvcprt.lib | Not Applicable | 1,482,036 | 23-Mar-2006 | 11:13 | | Msvcprtd.lib | Not Applicable | 1,656,748 | 23-Mar-2006 | 17:29 | | Msvcr80.dll | 8.0.50727.91 | 1,485,824 | 23-Mar-2006 | 10:58 | IA-64 | Msvcr80d.dll | 8.0.50727.91 | 1,171,456 | 23-Mar-2006 | 11:14 | x86 | Msvcrt.lib | Not Applicable | 48,368 | 23-Mar-2006 | 12:47 | | Msvcrtd.lib | Not Applicable | 8,884 | 23-Mar-2006 | 12:47 | | Msvcurt.lib | Not Applicable | 6,286,444 | 23-Mar-2006 | 17:28 | | Msvcurtd.lib | Not Applicable | 6,788,392 | 23-Mar-2006 | 17:29 | | Ostream | Not Applicable | 32,104 | 23-Mar-2006 | 11:14 | | Policy_8_0_microsoft_vc80_atl_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_atl_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_atl_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_crt_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_crt_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_crt_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_debugcrt_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:46 | | Policy_8_0_microsoft_vc80_debugcrt_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:47 | | Policy_8_0_microsoft_vc80_debugcrt_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:47 | | Policy_8_0_microsoft_vc80_debugmfc_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:47 | | Policy_8_0_microsoft_vc80_debugmfc_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:48 | | Policy_8_0_microsoft_vc80_debugmfc_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:47 | | Policy_8_0_microsoft_vc80_debugopenmp_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:48 | | Policy_8_0_microsoft_vc80_debugopenmp_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:48 | | Policy_8_0_microsoft_vc80_debugopenmp_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:48 | | Policy_8_0_microsoft_vc80_mfcloc_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_mfcloc_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_mfcloc_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_mfc_x86.msm | Not
Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_mfc_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_mfc_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_openmp_x86.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_openmp_x86_ia64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Policy_8_0_microsoft_vc80_openmp_x86_x64.msm | Not Applicable | 75,776 | 23-Mar-2006 | 19:49 | | Tidtable.c | Not Applicable | 21,911 | 23-Mar-2006 | 11:14 | | Tzset.c | Not Applicable | 23,190 | 23-Mar-2006 | 11:14 | | Vcredist_ia64.exe | 2.0.50727.91 | 6,538,752 | 23-Mar-2006 | 16:32 | x86 | Vcredist_x64.exe | 2.0.50727.91 | 3,156,992 | 23-Mar-2006 | 16:14 | x86 | Vcredist_x86.exe | 2.0.50727.91 | 2,652,672 | 23-Mar-2006 | 20:54 | x86 | X86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07.manifest | Not Applicable | 1,868 | 23-Mar-2006 | 19:17 | | X86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_f763b2a6.manifest | Not Applicable | 1,876 | 23-Mar-2006 | 19:17 | |
Visual Studio 2005 for Itanium systems|
Istream | Not Applicable | 32,646 | 23-Mar-2006 | 11:01 | | Libcmt.lib | Not Applicable | 10,865,412 | 23-Mar-2006 | 11:01 | | Libcmtd.lib | Not Applicable | 13,832,922 | 23-Mar-2006 | 11:01 | | Libcpmt.lib | Not Applicable | 8,197,064 | 23-Mar-2006 | 11:01 | | Libcpmtd.lib | Not Applicable | 11,606,400 | 23-Mar-2006 | 11:01 | | Microsoft.vc80.crt.manifest | Not Applicable | 523 | 23-Mar-2006 | 10:40 | | Msdia80.dll | 8.0.50727.91 | 2,084,352 | 23-Mar-2006 | 12:18 | IA-64 | Msvcmrt.lib | Not Applicable | 1,235,870 | 23-Mar-2006 | 11:01 | | Msvcmrtd.lib | Not Applicable | 1,273,218 | 23-Mar-2006 | 11:01 | | Msvcprt.lib | Not Applicable | 1,959,624 | 23-Mar-2006 | 11:01 | | Msvcprtd.lib | Not Applicable | 2,153,264 | 23-Mar-2006 | 11:01 | | Msvcrt.lib | Not Applicable | 1,166,390 | 23-Mar-2006 | 11:01 | | Msvcrtd.lib | Not Applicable | 1,201,250 | 23-Mar-2006 | 11:01 | | Msvcurt.lib | Not Applicable | 6,286,444 | 23-Mar-2006 | 11:01 | | Msvcurtd.lib | Not Applicable | 6,963,234 | 23-Mar-2006 | 11:01 | | Ostream | Not Applicable | 29,052 | 23-Mar-2006 | 11:01 | | Tidtable.c | Not Applicable | 21,911 | 23-Mar-2006 | 11:01 | | Tzset.c | Not Applicable | 23,190 | 23-Mar-2006 | 11:01 | |
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbfix kbBug kbHotfixServer kbQFE kbpubtypekc KB915697 kbAudDeveloper kbAudITPRO |
---|
|