DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 981575 - Last Review: September 27, 2010 - Revision: 3.0

Hotfix Download Available
View and request hotfix downloads
 

On This Page

SYMPTOMS

When you run a Microsoft .NET Framework 2.0-based application that uses the AesCryptoServiceProvider class, a memory leak occurs.

CAUSE

This problem occurs because of the following two reasons.

Reason 1

Two native handles that are in a parent/child relationship in an AesCryptoServiceProvider object belong to separate managed objects. When the parent handle is disposed of first, the system cannot trace and then release all the memory that is owned by the child handle.

Reason 2

The AesCryptoServiceProvider object leaks a reference to an object in its ICryptoTransform interface.

RESOLUTION

Hotfix information

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

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer 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.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft website:
http://code.msdn.microsoft.com/KB981575 (http://code.msdn.microsoft.com/KB981575)
Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

You can also download this hotfix from the following Microsoft website:
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=31185 (http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=31185)

Prerequisites

You must have the .NET Framework 2.0 Service Pack 2 (SP2) or the Microsoft .NET Framework 3.5 Service Pack 1 (SP1) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if affected files are not being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

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.
For all supported x86-based versions of Windows Server 2003, of Windows XP, of Windows Vista, and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.core.dll3.5.30729.4530667,64801-Apr-201009:55x86
For all supported x64-based versions of Windows Server 2003, of Windows XP, of Windows Vista, and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.core.dll3.5.30729.4530667,64801-Apr-201009:55x86
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.core.dll3.5.30729.5025667,64829-Apr-201023:55x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.core.dll3.5.30729.5025667,64830-Apr-201000:31x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.core.dll3.5.30729.5025667,64829-Apr-201023:50IA-64

STATUS

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

APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbHotfixServer kbexpertiseadvanced kbsurveynew kbqfe KB981575
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support