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.

Memory Leak When You Use the Microsoft Base Cryptographic Provider

View products that this article applies to.

This article was previously published under Q258000

↑ Back to the top


When you run a program that repeatedly calls CryptAcquireContext(), each CryptAcquireContext() call generates a 100 kilobyte (KB) memory leak.

↑ Back to the top


This problem can occur if you are running the Microsoft Base Cryptographic Provider (Rsabase.dll) version 1877 that is included with Internet Explorer version 5.01. This version of the Rsabase.dll file calls MapViewOfFile on itself to examine the appended signature for comparison with the signature in the registry. This problem occurs because the mapped view is not correctly released, and this causes a memory leak that is equal to the size of the Rsabase.dll file.

↑ Back to the top


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows NT 4.0 service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone 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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
 Date       Time   Version       Size     File Name     Platform
 06/21/2000 15:07  5.0.1877.9    4,368    Enhsig.dll    x86 
 06/01/2000 11:58  5.0.1877.9    101,648  Rsabase.dll   x86 
 06/01/2000 11:58  5.0.1877.9    100,624  Rsaenh.dll    x86 
 06/21/2000 15:07  5.0.1877.9    4,368    Rsasig.dll    x86 

↑ Back to the top


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top

Keywords: KB258000, kbprb, kbfix, kbenv, kbhotfixserver, kbqfe

↑ Back to the top

Article Info
Article ID : 258000
Revision : 8
Created on : 1/27/2007
Published on : 1/27/2007
Exists online : False
Views : 489