Memory leak in Oleaut32.dll on a Windows 7 SP1, Windows Server 2008 R2 SP1, Windows 8, Windows Server 2012, Windows 8.1 or Windows Server 2012 R2-based COM server

Article translations Article translations
Article ID: 2870467 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You have an out-of-proc COM server that is running Windows 7 Service Pack 1 (SP1), Windows Server 2008 R2 SP1, Windows 8, Windows Server 2012, Windows 8.1 or Windows Server 2012 R2. 
  • You run an application that is based on Microsoft COM technology on a client computer.
  • The application makes a COM call to the COM server. The client computer uses an interface to pass a SAFEARRAY user-defined data type to the COM server.
In this scenario, a memory leak occurs in Oleaut32.dll on the COM server.

Cause

This issue occurs because Oleaut32.dll does not work correctly when the system frees allocated memory.

Resolution

Update information for Windows RT 8.1, Windows 8.1 and Windows Server 2012 R2

To resolve this issue in Windows 8.1 or Windows Server 2012 R2, install update rollup 2911106. For more information about how to obtain this update rollup package, click the following article number to view the article in the Microsoft Knowledge Base:
2911106 Windows 8.1 and Windows Server 2012 R2 update rollup: January 2014

Update information for Windows RT, Windows 8 and Windows Server 2012

To resolve this issue in Windows RT, Windows 8 or Windows Server 2012, install update rollup 2889784, or install the hotfix that is described in this article. This hotfix is also available at Microsoft Update Catalog. For more information about how to obtain this update rollup package, click the following article number to view the article in the Microsoft Knowledge Base:
2889784 Windows RT, Windows 8, and Windows Server 2012 update rollup: November 2013

Hotfix information for Windows 8, Windows Server 2012, Windows 7 SP1 and Windows Server 2008 R2 SP1

To resolve this issue in Windows 8, Windows Server 2012, Windows 7 SP1 or Windows Server 2008 R2 SP1, install the hotfix that is described in this article.

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 8, Windows Server 2012, Windows 7 SP1 or Windows Server 2008 R2 SP1.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

Collapse this imageExpand this image
assets folding start collapsed
The global version of this hotfix 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 8 and Windows Server 2012 file information notes

Important Windows 8 hotfixes and Windows Server 2012 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 8/Windows Server 2012" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.2.920 0.16xxxWindows RT, Windows 8 and Windows Server 2012STMGDR
    6.2.920 0.20xxxWindows RT, Windows 8 and Windows Server 2012STMLDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • 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 8 and for Windows Server 2012" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important 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 8
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Oleaut32.dll6.2.9200.16726551,42428-Sep-201303:58x86
Oleaut32.dll6.2.9200.20764551,93603-Jul-201305:19x86
Collapse this imageExpand this image
assets folding end collapsed

For all supported x64-based versions of Windows 8 and of Windows Server 2012
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Oleaut32.dll6.2.9200.16726778,75228-Sep-201305:48x64
Oleaut32.dll6.2.9200.20836779,77628-Sep-201304:20x64
Oleaut32.dll6.2.9200.16726551,42428-Sep-201303:58x86
Oleaut32.dll6.2.9200.20764551,93603-Jul-201305:19x86
Collapse this imageExpand this image
assets folding end collapsed

For Windows RT
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Oleaut32.dll6.2.9200.16657493,56802-Jul-201323:59Not applicable
Collapse this imageExpand this image
assets folding end collapsed

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 files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.1.760 1.18xxxWindows 7 and Windows Server 2008 R2SP1GDR
    6.1.760 1.22xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • 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 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 x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameOleaut32.dll
File version6.1.7601.18208
File size861,184
Date (UTC)12-Jul-2013
Time (UTC)12:22
Platformx64
File nameOleaut32.dll
File version6.1.7601.22382
File size861,184
Date (UTC)12-Jul-2013
Time (UTC)12:01
Platformx64
File nameOleaut32.dll
File version6.1.7601.18208
File size571,904
Date (UTC)12-Jul-2013
Time (UTC)11:36
Platformx86
File nameOleaut32.dll
File version6.1.7601.22382
File size571,904
Date (UTC)12-Jul-2013
Time (UTC)11:06
Platformx86
Collapse this imageExpand this image
assets folding end collapsed

For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameOleaut32.dll
File version6.1.7601.18208
File size2,036,224
Date (UTC)12-Jul-2013
Time (UTC)11:15
PlatformIA-64
File nameOleaut32.dll
File version6.1.7601.22382
File size2,036,224
Date (UTC)12-Jul-2013
Time (UTC)11:05
PlatformIA-64
File nameOleaut32.dll
File version6.1.7601.18208
File size571,904
Date (UTC)12-Jul-2013
Time (UTC)11:36
Platformx86
File nameOleaut32.dll
File version6.1.7601.22382
File size571,904
Date (UTC)12-Jul-2013
Time (UTC)11:06
Platformx86
Collapse this imageExpand this image
assets folding end collapsed

Collapse this imageExpand this image
assets folding end collapsed

Status

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

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

Additional file information

Collapse this imageExpand this image
assets folding start collapsed

Additional file information for Windows 8 and for Windows Server 2012

Additional files for all supported x86-based versions of Windows 8
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameUpdate.mum
File versionNot applicable
File size2,227
Date (UTC)30-Sep-2013
Time (UTC)06:53
PlatformNot applicable
File nameX86_1b7746de0bc16a6019efde8cfedb8cbb_31bf3856ad364e35_6.2.9200.16726_none_012c6d226a3aade0.manifest
File versionNot applicable
File size702
Date (UTC)30-Sep-2013
Time (UTC)06:53
PlatformNot applicable
File nameX86_8c42a3eaf4f6ffaafd0dd237543b06d0_31bf3856ad364e35_6.2.9200.20836_none_2a1bec67a1897fb6.manifest
File versionNot applicable
File size702
Date (UTC)30-Sep-2013
Time (UTC)06:53
PlatformNot applicable
File nameX86_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.16726_none_b9ee1e22ccae778d.manifest
File versionNot applicable
File size51,601
Date (UTC)28-Sep-2013
Time (UTC)04:39
PlatformNot applicable
File nameX86_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.20836_none_ba6ceb01e5d43348.manifest
File versionNot applicable
File size51,604
Date (UTC)30-Sep-2013
Time (UTC)06:53
PlatformNot applicable
Collapse this imageExpand this image
assets folding end collapsed
Additional files for all supported x64-based versions of Windows 8 and Windows Server 2012
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameAmd64_0a963840a1e9ccf3b2aee10186901d49_31bf3856ad364e35_6.2.9200.16726_none_4cd7020aac7324a6.manifest
File versionNot applicable
File size706
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
File nameAmd64_3e0dd9b117442c53ba8818270dc9829e_31bf3856ad364e35_6.2.9200.16726_none_62f6246ed4fb3a06.manifest
File versionNot applicable
File size706
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
File nameAmd64_4766d6122d48157e634465267a560f26_31bf3856ad364e35_6.2.9200.20836_none_75558f6ac4dda4fa.manifest
File versionNot applicable
File size706
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
File nameAmd64_61267b540ace8bd207c272e3ae628603_31bf3856ad364e35_6.2.9200.20836_none_8bdf78b9d2a9986d.manifest
File versionNot applicable
File size706
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
File nameAmd64_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.16726_none_160cb9a6850be8c3.manifest
File versionNot applicable
File size49,837
Date (UTC)28-Sep-2013
Time (UTC)07:00
PlatformNot applicable
File nameAmd64_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.20836_none_168b86859e31a47e.manifest
File versionNot applicable
File size49,837
Date (UTC)28-Sep-2013
Time (UTC)06:27
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,913
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.16726_none_206163f8b96caabe.manifest
File versionNot applicable
File size47,245
Date (UTC)28-Sep-2013
Time (UTC)04:37
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.20836_none_20e030d7d2926679.manifest
File versionNot applicable
File size47,248
Date (UTC)30-Sep-2013
Time (UTC)06:57
PlatformNot applicable
Collapse this imageExpand this image
assets folding end collapsed
Additional files for Windows RT
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameArm_9535ad297415468f4f39e655c9987b75_31bf3856ad364e35_6.2.9200.16726_none_3905ac6472818f8e.manifest
File versionNot applicable
File size702
Date (UTC)30-Sep-2013
Time (UTC)06:51
PlatformNot applicable
File nameArm_microsoft-windows-ole-automation_31bf3856ad364e35_6.2.9200.16726_none_b9f0907accab9653.manifest
File versionNot applicable
File size49,715
Date (UTC)30-Sep-2013
Time (UTC)06:51
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,006
Date (UTC)30-Sep-2013
Time (UTC)06:51
PlatformNot applicable
Collapse this imageExpand this image
assets folding end collapsed


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

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameAmd64_25ea4fb440236f2a4fe24d29f70eeadd_31bf3856ad364e35_6.1.7601.18208_none_f186faebc73c0cc0.manifest
File versionNot applicable
File size706
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_5ca3d84b27bfdf38ae21b7678b0eaf02_31bf3856ad364e35_6.1.7601.22382_none_af9e8fd8ad42578e.manifest
File versionNot applicable
File size706
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_613852f9a48e80e03d018ab56100120f_31bf3856ad364e35_6.1.7601.22382_none_cf7e786e2c849424.manifest
File versionNot applicable
File size1,054
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_68126da53ccbbaaf9fd8b00fb60de3ea_31bf3856ad364e35_6.1.7601.18208_none_edb51145f7a96b1c.manifest
File versionNot applicable
File size706
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_9f146b4b69696bd294af335e6f991ba9_31bf3856ad364e35_6.1.7601.18208_none_91fedb0645899582.manifest
File versionNot applicable
File size1,054
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_a1c6e0bd1bba65abfe1a66b93863ec2c_31bf3856ad364e35_6.1.7601.22382_none_e34528bbaada834a.manifest
File versionNot applicable
File size706
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameAmd64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.18208_none_1b34e497120e2900.manifest
File versionNot applicable
File size49,750
Date (UTC)12-Jul-2013
Time (UTC)13:05
PlatformNot applicable
File nameAmd64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.22382_none_1b6200462b721048.manifest
File versionNot applicable
File size49,750
Date (UTC)12-Jul-2013
Time (UTC)12:32
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.18208_none_25898ee9466eeafb.manifest
File versionNot Applicable
File size47,158
Date (UTC)12-Jul-2013
Time (UTC)12:09
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.22382_none_25b6aa985fd2d243.manifest
File versionNot applicable
File size47,158
Date (UTC)12-Jul-2013
Time (UTC)11:21
PlatformNot applicable
Collapse this imageExpand this image
assets folding end collapsed
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this imageExpand this image
assets folding start collapsed
Collapse this tableExpand this table
File propertyValue
File nameIa64_931d9b0c936b17b2d5a17282d5b27113_31bf3856ad364e35_6.1.7601.18208_none_18c475c2a1609ecf.manifest
File versionNot applicable
File size1,052
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameIa64_cff411fe7a0065efec745906937ea987_31bf3856ad364e35_6.1.7601.22382_none_e4b8bf477ca703e3.manifest
File versionNot applicable
File size1,052
Date (UTC)12-Jul-2013
Time (UTC)18:20
PlatformNot applicable
File nameIa64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.18208_none_bf17ed0959aec0c6.manifest
File versionNot applicable
File size49,749
Date (UTC)12-Jul-2013
Time (UTC)13:02
PlatformNot applicable
File nameIa64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.22382_none_bf4508b87312a80e.manifest
File versionNot applicable
File size49,749
Date (UTC)12-Jul-2013
Time (UTC)11:34
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.18208_none_25898ee9466eeafb.manifest
File versionNot applicable
File size47,158
Date (UTC)12-Jul-2013
Time (UTC)12:09
PlatformNot applicable
File nameWow64_microsoft-windows-ole-automation_31bf3856ad364e35_6.1.7601.22382_none_25b6aa985fd2d243.manifest
File versionNot applicable
File size47,158
Date (UTC)12-Jul-2013
Time (UTC)11:21
PlatformNot applicable
Collapse this imageExpand this image
assets folding end collapsed
 
Collapse this imageExpand this image
assets folding end collapsed

Properties

Article ID: 2870467 - Last Review: January 14, 2014 - Revision: 3.0
Applies to
  • Windows RT 8.1
  • Windows 8.1
  • Windows 8.1 Enterprise
  • Windows 8.1 Pro
  • Windows Server 2012 R2 Datacenter
  • Windows Server 2012 R2 Essentials
  • Windows Server 2012 R2 Foundation
  • Windows Server 2012 R2 Standard
  • Windows RT
  • Windows 8
  • Windows 8 Enterprise
  • Windows 8 Pro
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Essentials
  • Windows Server 2012 Foundation
  • Windows Server 2012 Standard
  • Windows Server 2008 R2 Service Pack 1, when used with:
    • Windows Server 2008 R2 Enterprise
    • Windows Server 2008 R2 Datacenter
    • Windows Server 2008 R2 Foundation
    • Windows Server 2008 R2 Standard
    • Windows Web Server 2008 R2
    • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows 7 Service Pack 1, when used with:
    • Windows 7 Enterprise
    • Windows 7 Home Basic
    • Windows 7 Home Premium
    • Windows 7 Professional
    • Windows 7 Ultimate
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced KB2870467

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com