Heap Corruption May Occur in MFC DLLs That Use the Shared MFC DLL (819611)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

SYMPTOMS

Heap corruption may occur when both of the following conditions exist:
  • A program uses a DLL that is linked to the Microsoft Foundation Class (MFC) shared DLL.
  • Threads are exited.
You can typically see the corruption at the second DWORD value of a heap allocation.

CAUSE

This is a problem in the shared MFC Library.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 819611. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

File Information

The English version of this package has the file attributes (or later) that are listed in the following table.
Date         Time   Version    Size       File name
---------------------------------------------------------------------------------
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-armv4.exe    
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-armv4i.exe   
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-armv4t.exe   
23-May-2003  00:06  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-mips16.exe   
23-May-2003  00:06  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-mipsii.exe   
23-May-2003  00:06  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-mipsii_fp.exe
23-May-2003  00:07  4.1.3.523  1,071,720  Wincepb41-030523-kb819611-mipsiv.exe   
23-May-2003  00:07  4.1.3.523  1,071,720  Wincepb41-030523-kb819611-mipsiv_fp.exe
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-sh3.exe  
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-sh4.exe  
23-May-2003  00:05  4.1.3.523  1,067,624  Wincepb41-030523-kb819611-x86.exe  
The English version of this fix has the file attributes (or later) 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 tool in Control Panel.
Date         Time                     Size     File name
----------------------------------------------------------
Path: Others\Mfc\Lib\Armv4
21-May-2003  01:30                    122,898  Mfcs42.lib
21-May-2003  01:30                    692,224  Mfcs42.pdb
21-May-2003  01:29                    125,278  Mfcs42d.lib
21-May-2003  01:29                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Armv4i
21-May-2003  01:33                    122,994  Mfcs42.lib
21-May-2003  01:33                    692,224  Mfcs42.pdb
21-May-2003  01:32                    125,354  Mfcs42d.lib
21-May-2003  01:32                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Armv4t
21-May-2003  01:37                    122,916  Mfcs42.lib
21-May-2003  01:37                    692,224  Mfcs42.pdb
21-May-2003  01:35                    124,754  Mfcs42d.lib
21-May-2003  01:35                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Mips16
21-May-2003  01:20                    123,648  Mfcs42.lib
21-May-2003  01:20                    692,224  Mfcs42.pdb
21-May-2003  01:18                    125,058  Mfcs42d.lib
21-May-2003  01:18                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Mipsii
21-May-2003  01:13                    124,052  Mfcs42.lib
21-May-2003  01:13                    692,224  Mfcs42.pdb
21-May-2003  01:11                    126,616  Mfcs42d.lib
21-May-2003  01:11                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Mipsii_fp
21-May-2003  01:16                    124,104  Mfcs42.lib
21-May-2003  01:16                    692,224  Mfcs42.pdb
21-May-2003  01:15                    126,666  Mfcs42d.lib
21-May-2003  01:15                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Mipsiv
21-May-2003  01:23                    124,154  Mfcs42.lib
21-May-2003  01:23                    692,224  Mfcs42.pdb
21-May-2003  01:22                    126,836  Mfcs42d.lib
21-May-2003  01:22                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Mipsiv_fp
21-May-2003  01:26                    124,206  Mfcs42.lib
21-May-2003  01:26                    692,224  Mfcs42.pdb
21-May-2003  01:25                    126,886  Mfcs42d.lib
21-May-2003  01:25                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Sh3
21-May-2003  01:05                    123,162  Mfcs42.lib
21-May-2003  01:05                    692,224  Mfcs42.pdb
21-May-2003  01:03                    125,328  Mfcs42d.lib
21-May-2003  01:03                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\Sh4
21-May-2003  01:09                    123,168  Mfcs42.lib
21-May-2003  01:09                    692,224  Mfcs42.pdb
21-May-2003  01:08                    125,328  Mfcs42d.lib
21-May-2003  01:08                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Lib\X86
21-May-2003  01:40                    120,408  Mfcs42.lib
21-May-2003  01:40                    700,416  Mfcs42.pdb
21-May-2003  01:38                    122,572  Mfcs42d.lib
21-May-2003  01:38                    708,608  Mfcs42d.pdb

Path: Others\Mfc\Src
06-May-2003  17:45                      7,265  Dllmodul.cpp

STATUS

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

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB819611