Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Array elements in very large loops may be returned as undefined in JScript 5.8


View products that this article applies to.

Symptoms

When Microsoft JScript 5.8 iterates on array elements in very large loops, the array elements may be returned as undefined.

For example, this problem occurs when you try to use JScript 5.8 to parse the following sample script.
var wshShell = WScript.CreateObject("WScript.Shell");
function Test(iteration) {
var TestArray = ["ab","cd","ef","gh"];
if (typeof TestArray[0] === "undefined") {
wshShell.Popup("TestArray[0] === undefined at iteration " + iteration);
}
}
for (var i = 0; i < 12000000; i++) {
Test(i);
}
wshShell.Popup("Done");
Note This problem may occur when you use JScript 5.8 in Internet Explorer 8, Internet Explorer 9 or Windows Script Host.

↑ Back to the top


Cause

This problem occurs because of an error in the way that Jscript 5.8 handles the lifetime of an object when there are lots of garbage collections.

↑ Back to the top


Resolution

To resolve this problem, install the update for your version of Internet Explorer.

Update information

To resolve this problem, install this update from Microsoft Windows Update.

Additionally, you can install this update from the following resources.
 

Internet Explorer 9

This update was first included in security update 2618444.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2618444 MS11-089: Cumulative Security Update for Internet Explorer: December 13, 2011

Internet Explorer 8

To get the stand-alone package for this update, go to the Microsoft Update Catalog website.

Prerequisites

To apply this update, you must have Internet Explorer installed on one of the following operating systems:
 
Internet Explorer 9
  • Windows Vista
  • Windows Server 2008
  • Windows 7 SP1
  • Windows Server 2008 R2 SP1
Internet Explorer 8
  • Windows XP Service Pack 3 (SP3)
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista
  • Windows Server 2008
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2 SP1

Registry information

To use the update in this package, you do not have to make any changes to the registry.

Restart information

You may have to restart the computer after you apply this update.
 

Update replacement information

This update replaces the following update:
976662 An update is available for the native JSON feature in Internet Explorer 8

File information

The English (United States) version of this update installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows XP and Windows Server 2003 file information notes
  • In addition to the files that are listed in these tables, this hotfix also installs an associated security catalog file (KBnumber.cat) that is signed with a Microsoft digital signature.
 
For all supported x86-based versions of Windows XP SP3
File name File version File size Date Time
Jscript.dll 5.8.6001.23259 726,528 28-Oct-2011 16:07
For all supported x86-based versions of Windows Server 2003 SP2
File name File version File size Date Time
Jscript.dll 5.8.6001.23259 726,528 25-Oct-2011 16:38
For all supported x64-based versions of Windows Server 2003 SP2
File name File version File size Date Time Platform SP requirement Service branch
Jscript.dll 5.8.6001.23259 817,664 25-Oct-2011 14:20 x64 SP2 Not Applicable
Wjscript.dll 5.8.6001.23259 726,528 25-Oct-2011 14:20 x86 SP2 WOW
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
 
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
 
For all supported x86-based versions of Windows Vista and of Windows Server 2008
File name File version File size Date Time
Jscript.dll 5.8.6001.19163 726,528 18-Oct-2011 06:18
Jscript.dll 5.8.6001.23259 726,528 18-Oct-2011 07:24
For all supported x64-based versions of Windows Vista and of Windows Server 2008
File name File version File size Date Time
Jscript.dll 5.8.6001.19163 817,664 18-Oct-2011 06:50
Jscript.dll 5.8.6001.23259 817,664 18-Oct-2011 08:03
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
 
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
 
For all supported x86-based versions of Windows 7 SP1
File name File version File size Date Time
Jscript.dll 5.8.7600.16898 716,800 14-Oct-2011 04:42
Jscript.dll 5.8.7600.21069 716,800 14-Oct-2011 04:32
Jscript.dll 5.8.7601.17707 716,800 14-Oct-2011 04:24
Jscript.dll 5.8.7601.21838 716,800 13-Oct-2011 06:08
For all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File name File version File size Date Time Platform
Jscript.dll 5.8.7600.16898 852,480 14-Oct-2011 05:21 x64
Jscript.dll 5.8.7600.21069 852,480 14-Oct-2011 05:26 x64
Jscript.dll 5.8.7601.17707 918,528 14-Oct-2011 05:31 x64
Jscript.dll 5.8.7601.21838 918,528 13-Oct-2011 06:17 x64
Jscript.dll 5.8.7600.16898 716,800 14-Oct-2011 04:42 x86
Jscript.dll 5.8.7600.21069 716,800 14-Oct-2011 04:32 x86
Jscript.dll 5.8.7601.17707 716,800 14-Oct-2011 04:24 x86
Jscript.dll 5.8.7601.21838 716,800 13-Oct-2011 06:08 x86
For all supported IA-64-based versions of Windows Server 2008 R2 SP1
File name File version File size Date Time Platform
Jscript.dll 5.8.7600.16898 1,770,496 14-Oct-2011 04:04 IA-64
Jscript.dll 5.8.7600.21069 1,770,496 14-Oct-2011 04:09 IA-64
Jscript.dll 5.8.7601.17707 1,770,496 14-Oct-2011 04:05 IA-64
Jscript.dll 5.8.7601.21838 1,770,496 13-Oct-2011 04:13 IA-64
Jscript.dll 5.8.7600.16898 716,800 14-Oct-2011 04:42 x86
Jscript.dll 5.8.7600.21069 716,800 14-Oct-2011 04:32 x86
Jscript.dll 5.8.7601.17707 716,800 14-Oct-2011 04:24 x86
Jscript.dll 5.8.7601.21838 716,800 13-Oct-2011 06:08 x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top



Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate-bf.mum
File versionNot Applicable
File size1,416
Date (UTC)19-Oct-2011
Time (UTC)20:48
File nameX86_330f3431930626a29fe13f992ddcb849_31bf3856ad364e35_8.0.6001.19163_none_97518ad8d8bad5c6.manifest
File versionNot Applicable
File size705
Date (UTC)19-Oct-2011
Time (UTC)20:48
File nameX86_a68230ec70a5c6d898d680878f6334d9_31bf3856ad364e35_8.0.6001.23259_none_9e3256a8e393bf76.manifest
File versionNot Applicable
File size705
Date (UTC)19-Oct-2011
Time (UTC)20:48
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.6001.19163_none_658b09870d1fb31e.manifest
File versionNot Applicable
File size42,892
Date (UTC)18-Oct-2011
Time (UTC)06:43
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.6001.23259_none_662577fa262fcf01.manifest
File versionNot Applicable
File size42,892
Date (UTC)18-Oct-2011
Time (UTC)07:51
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_349b4a0c04e8f60b67a1869514beca78_31bf3856ad364e35_8.0.6001.23259_none_3ee40c9392541af8.manifest
File versionNot Applicable
File size1,058
Date (UTC)19-Oct-2011
Time (UTC)20:48
File nameAmd64_8eec6095965d1ebf2ef85a2330af3184_31bf3856ad364e35_8.0.6001.19163_none_0328e766a39284d1.manifest
File versionNot Applicable
File size1,058
Date (UTC)19-Oct-2011
Time (UTC)20:48
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.6001.19163_none_c1a9a50ac57d2454.manifest
File versionNot Applicable
File size42,910
Date (UTC)18-Oct-2011
Time (UTC)07:31
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.6001.23259_none_c244137dde8d4037.manifest
File versionNot Applicable
File size42,910
Date (UTC)18-Oct-2011
Time (UTC)08:40

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7 SP1
File nameX86_2d069aaa9ae8a353690dfef5ac55349c_31bf3856ad364e35_8.0.7600.21069_none_4fe27eca3fc0e527.manifest
File versionNot Applicable
File size705
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameX86_4d2af1b36f851b27a8391d127a949c5c_31bf3856ad364e35_8.0.7601.17707_none_a01557611750275d.manifest
File versionNot Applicable
File size705
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameX86_928a278af94685b7a81b84b4f98fa63c_31bf3856ad364e35_8.0.7600.16898_none_0d7bf4fa0c2f286d.manifest
File versionNot Applicable
File size705
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameX86_f4657febd8c09230922469b98526837b_31bf3856ad364e35_8.0.7601.21838_none_9b524beb4957b179.manifest
File versionNot Applicable
File size705
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.16898_none_9d68c061cf7f3eb4.manifest
File versionNot Applicable
File size22,972
Date (UTC)14-Oct-2011
Time (UTC)05:11
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.21069_none_9e13a55ce883d744.manifest
File versionNot Applicable
File size22,972
Date (UTC)14-Oct-2011
Time (UTC)05:00
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.17707_none_9faf6e4fcc5d92f7.manifest
File versionNot Applicable
File size22,972
Date (UTC)14-Oct-2011
Time (UTC)04:53
File nameX86_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.21838_none_a0199ba0e5929feb.manifest
File versionNot Applicable
File size22,972
Date (UTC)13-Oct-2011
Time (UTC)06:43
Additional files for all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File nameAmd64_0f6e643436043e444ce5c734ce65297e_31bf3856ad364e35_8.0.7600.16898_none_a9239893f49a12f7.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_1f397fb4b5e10e58ae97ff00636a9c87_31bf3856ad364e35_8.0.7600.21069_none_07e5140db9a65db6.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_40face8b0a20c0f79a059592133110e8_31bf3856ad364e35_8.0.7601.17707_none_0a9b713ca05eb071.manifest
File versionNot Applicable
File size1,060
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_56a20f59fa6b02109f0763f054db66b5_31bf3856ad364e35_8.0.7600.21069_none_a53ef1a496027693.manifest
File versionNot Applicable
File size1,060
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_59c06094efa399a3ee24f6968b998399_31bf3856ad364e35_8.0.7601.21838_none_5c8a72eb318bff36.manifest
File versionNot Applicable
File size1,060
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_64a905c42865cdfde69e6c43764602f3_31bf3856ad364e35_8.0.7601.17707_none_76a02f099dd9c2a2.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_6ddf392294eeb98dcf30ea829ec7d753_31bf3856ad364e35_8.0.7601.17707_none_cbe7c835169f3348.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_719bac8fb21f1d8f8a216a06bca80206_31bf3856ad364e35_8.0.7601.21838_none_fadf4c97842fcb51.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_7b809419dd17c68895ed56f95c68a8d8_31bf3856ad364e35_8.0.7600.16898_none_728e104034be8b49.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_922662568e7fca86ca42b06e9e0027ba_31bf3856ad364e35_8.0.7600.16898_none_838a6bc0c496f541.manifest
File versionNot Applicable
File size1,060
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_96a1ac811d734913d1e7e6c2dfcecb76_31bf3856ad364e35_8.0.7600.16898_none_1ba93f41aae2ea89.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_a4c93810b42d0e756b00f4da60a761c1_31bf3856ad364e35_8.0.7601.17707_none_89bf68383a0ab9b5.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_c563667c68cc89064d1a57f22e91c922_31bf3856ad364e35_8.0.7601.21838_none_b07ac292ab6f4932.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_c7eb93917a43f7c41039d91beb007ac9_31bf3856ad364e35_8.0.7600.21069_none_10ee923c1c58ac16.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_fd0cf2f63e5df17d074a9a94a65aa8e6_31bf3856ad364e35_8.0.7601.21838_none_cf20b1387b0e437f.manifest
File versionNot Applicable
File size709
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_ff8decc4e9f0a3254c47037216efeae3_31bf3856ad364e35_8.0.7600.21069_none_975e237be7cf9ada.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.16898_none_f9875be587dcafea.manifest
File versionNot Applicable
File size22,976
Date (UTC)14-Oct-2011
Time (UTC)06:12
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.21069_none_fa3240e0a0e1487a.manifest
File versionNot Applicable
File size22,976
Date (UTC)14-Oct-2011
Time (UTC)06:01
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.17707_none_fbce09d384bb042d.manifest
File versionNot Applicable
File size22,976
Date (UTC)14-Oct-2011
Time (UTC)06:00
File nameAmd64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.21838_none_fc3837249df01121.manifest
File versionNot Applicable
File size22,976
Date (UTC)13-Oct-2011
Time (UTC)07:26
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.16898_none_03dc0637bc3d71e5.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)05:04
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.21069_none_0486eb32d5420a75.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)04:49
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.17707_none_0622b425b91bc628.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)04:46
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.21838_none_068ce176d250d31c.manifest
File versionNot Applicable
File size21,126
Date (UTC)13-Oct-2011
Time (UTC)06:32
Additional files for all supported IA-64-based versions of Windows Server 2008 R2 SP1
File nameIa64_639975090a5464b4f4013139b7b8adec_31bf3856ad364e35_8.0.7600.21069_none_ce8c90e3440c3f5b.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameIa64_88c2cc9a228280dacd12e6970722e06a_31bf3856ad364e35_8.0.7601.17707_none_ebc7f512a14ad2c1.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameIa64_cf7eb6c8c8ebee359050b4c96106c370_31bf3856ad364e35_8.0.7600.16898_none_39001b72a2078454.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameIa64_dbeafe1d82c4e53e4af491616f0ca23b_31bf3856ad364e35_8.0.7601.21838_none_52775af5a2ac3559.manifest
File versionNot Applicable
File size1,058
Date (UTC)15-Oct-2011
Time (UTC)02:48
File nameIa64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.16898_none_9d6a6457cf7d47b0.manifest
File versionNot Applicable
File size22,974
Date (UTC)14-Oct-2011
Time (UTC)06:00
File nameIa64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.21069_none_9e154952e881e040.manifest
File versionNot Applicable
File size22,974
Date (UTC)14-Oct-2011
Time (UTC)05:56
File nameIa64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.17707_none_9fb11245cc5b9bf3.manifest
File versionNot Applicable
File size22,974
Date (UTC)14-Oct-2011
Time (UTC)05:42
File nameIa64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.21838_none_a01b3f96e590a8e7.manifest
File versionNot Applicable
File size22,974
Date (UTC)13-Oct-2011
Time (UTC)07:27
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.16898_none_03dc0637bc3d71e5.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)05:04
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7600.21069_none_0486eb32d5420a75.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)04:49
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.17707_none_0622b425b91bc628.manifest
File versionNot Applicable
File size21,126
Date (UTC)14-Oct-2011
Time (UTC)04:46
File nameWow64_microsoft-windows-scripting-jscript_31bf3856ad364e35_8.0.7601.21838_none_068ce176d250d31c.manifest
File versionNot Applicable
File size21,126
Date (UTC)13-Oct-2011
Time (UTC)06:32

↑ Back to the top


Keywords: kb, kbbug, kbfix, kbsurveynew, kbexpertiseinter, kbhotfixserver, kbnotautohotfix

↑ Back to the top

Article Info
Article ID : 2632503
Revision : 3
Created on : 4/21/2020
Published on : 4/21/2020
Exists online : False
Views : 195