Symptoms
Consider the following scenario:
-
You create a Microsoft .NET Framework 3.5-based application on a computer that is running Windows 7 or Windows Server 2008 R2.
-
The application passes a zero-length byte array to the ICryptoTransform.TransformFinalBlock API to perform a cryptographic operation. For example, you use the API to encrypt or decrypt data.
In this scenario, the application crashes. Additionally, an error message that resembles the following is logged in the event log:
Source: .NET Runtime
Event ID: 1023
Event Data: .NET Runtime version '<2.0.50727.xxxx>' - Fatal Execution Engine Error ('<000007FEFxxxxxxx>') (80131506)
Cause
This issue occurs because the ICryptoTransform.TransformFinalBlock API does not handle the zero-length byte array parameter correctly in the .NET Framework 3.5-based application. Therefore, this results in an unhandled Access Violation exception, which causes the application to crash.
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 website:
http://support.microsoft.com/contactus/?ws=supportNote 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.
Prerequisites
To apply this hotfix, you must have the .NET Framework 3.5 Service Pack 1 (SP1) installed on a computer that is running one of the following operating systems:
-
Windows 7 Service Pack 1 (SP1)
-
Windows Server 2008 R2 Service Pack 1 (SP1)
Restart requirement
You do not have to restart the computer after you apply this hotfix if .NET Framework-related files are not being used.
File information
The global 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 7 SP1
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Big5.nlp |
Not Applicable |
66,728 |
12-Nov-2010 |
23:43 |
Not Applicable |
Bopomofo.nlp |
Not Applicable |
82,172 |
12-Nov-2010 |
23:43 |
Not Applicable |
Ksc.nlp |
Not Applicable |
116,756 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscorlib.dll |
2.0.50727.5719 |
4,550,656 |
07-Feb-2012 |
23:33 |
x86 |
Normidna.nlp |
Not Applicable |
59,342 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfc.nlp |
Not Applicable |
45,794 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfd.nlp |
Not Applicable |
39,284 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkc.nlp |
Not Applicable |
66,384 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkd.nlp |
Not Applicable |
60,294 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prc.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prcp.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sortkey.nlp |
Not Applicable |
262,148 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sorttbls.nlp |
Not Applicable |
20,320 |
12-Nov-2010 |
23:45 |
Not Applicable |
Xjis.nlp |
Not Applicable |
28,288 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscordacwks.dll |
2.0.50727.5719 |
990,480 |
07-Feb-2012 |
23:33 |
x86 |
Mscorwks.dll |
2.0.50727.5719 |
5,925,648 |
07-Feb-2012 |
23:33 |
x86 |
Sos.dll |
2.0.50727.5719 |
389,888 |
07-Feb-2012 |
23:34 |
x86 |
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 |
---|---|---|---|---|---|
Big5.nlp |
Not Applicable |
66,728 |
12-Nov-2010 |
23:43 |
Not Applicable |
Bopomofo.nlp |
Not Applicable |
82,172 |
12-Nov-2010 |
23:43 |
Not Applicable |
Ksc.nlp |
Not Applicable |
116,756 |
12-Nov-2010 |
23:44 |
Not Applicable |
Mscorlib.dll |
2.0.50727.5719 |
4,567,040 |
07-Feb-2012 |
23:32 |
x64 |
Normidna.nlp |
Not Applicable |
59,342 |
12-Nov-2010 |
23:44 |
Not Applicable |
Normnfc.nlp |
Not Applicable |
45,794 |
12-Nov-2010 |
23:44 |
Not Applicable |
Normnfd.nlp |
Not Applicable |
39,284 |
12-Nov-2010 |
23:44 |
Not Applicable |
Normnfkc.nlp |
Not Applicable |
66,384 |
12-Nov-2010 |
23:44 |
Not Applicable |
Normnfkd.nlp |
Not Applicable |
60,294 |
12-Nov-2010 |
23:44 |
Not Applicable |
Prc.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:44 |
Not Applicable |
Prcp.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:44 |
Not Applicable |
Sortkey.nlp |
Not Applicable |
262,148 |
12-Nov-2010 |
23:44 |
Not Applicable |
Sorttbls.nlp |
Not Applicable |
20,320 |
12-Nov-2010 |
23:44 |
Not Applicable |
Xjis.nlp |
Not Applicable |
28,288 |
12-Nov-2010 |
23:44 |
Not Applicable |
Mscordacwks.dll |
2.0.50727.5719 |
1,756,432 |
07-Feb-2012 |
23:32 |
x64 |
Mscorwks.dll |
2.0.50727.5719 |
9,991,952 |
07-Feb-2012 |
23:32 |
x64 |
Sos.dll |
2.0.50727.5719 |
486,144 |
07-Feb-2012 |
23:32 |
x64 |
Big5.nlp |
Not Applicable |
66,728 |
12-Nov-2010 |
23:43 |
Not Applicable |
Bopomofo.nlp |
Not Applicable |
82,172 |
12-Nov-2010 |
23:43 |
Not Applicable |
Ksc.nlp |
Not Applicable |
116,756 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscorlib.dll |
2.0.50727.5719 |
4,550,656 |
07-Feb-2012 |
23:33 |
x86 |
Normidna.nlp |
Not Applicable |
59,342 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfc.nlp |
Not Applicable |
45,794 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfd.nlp |
Not Applicable |
39,284 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkc.nlp |
Not Applicable |
66,384 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkd.nlp |
Not Applicable |
60,294 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prc.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prcp.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sortkey.nlp |
Not Applicable |
262,148 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sorttbls.nlp |
Not Applicable |
20,320 |
12-Nov-2010 |
23:45 |
Not Applicable |
Xjis.nlp |
Not Applicable |
28,288 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscordacwks.dll |
2.0.50727.5719 |
990,480 |
07-Feb-2012 |
23:33 |
x86 |
Mscorwks.dll |
2.0.50727.5719 |
5,925,648 |
07-Feb-2012 |
23:33 |
x86 |
Sos.dll |
2.0.50727.5719 |
389,888 |
07-Feb-2012 |
23:34 |
x86 |
For all supported Itanium-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Big5.nlp |
Not Applicable |
66,728 |
12-Nov-2010 |
23:45 |
Not Applicable |
Bopomofo.nlp |
Not Applicable |
82,172 |
12-Nov-2010 |
23:45 |
Not Applicable |
Ksc.nlp |
Not Applicable |
116,756 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscorlib.dll |
2.0.50727.5719 |
4,009,984 |
07-Feb-2012 |
23:25 |
IA-64 |
Normidna.nlp |
Not Applicable |
59,342 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfc.nlp |
Not Applicable |
45,794 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfd.nlp |
Not Applicable |
39,284 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkc.nlp |
Not Applicable |
66,384 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkd.nlp |
Not Applicable |
60,294 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prc.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prcp.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sortkey.nlp |
Not Applicable |
262,148 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sorttbls.nlp |
Not Applicable |
20,320 |
12-Nov-2010 |
23:45 |
Not Applicable |
Xjis.nlp |
Not Applicable |
28,288 |
12-Nov-2010 |
23:46 |
Not Applicable |
Mscordacwks.dll |
2.0.50727.5719 |
3,083,536 |
07-Feb-2012 |
23:25 |
IA-64 |
Mscorwks.dll |
2.0.50727.5719 |
20,343,568 |
07-Feb-2012 |
23:25 |
IA-64 |
Sos.dll |
2.0.50727.5719 |
873,728 |
07-Feb-2012 |
23:25 |
IA-64 |
Big5.nlp |
Not Applicable |
66,728 |
12-Nov-2010 |
23:43 |
Not Applicable |
Bopomofo.nlp |
Not Applicable |
82,172 |
12-Nov-2010 |
23:43 |
Not Applicable |
Ksc.nlp |
Not Applicable |
116,756 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscorlib.dll |
2.0.50727.5719 |
4,550,656 |
07-Feb-2012 |
23:33 |
x86 |
Normidna.nlp |
Not Applicable |
59,342 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfc.nlp |
Not Applicable |
45,794 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfd.nlp |
Not Applicable |
39,284 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkc.nlp |
Not Applicable |
66,384 |
12-Nov-2010 |
23:45 |
Not Applicable |
Normnfkd.nlp |
Not Applicable |
60,294 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prc.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Prcp.nlp |
Not Applicable |
83,748 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sortkey.nlp |
Not Applicable |
262,148 |
12-Nov-2010 |
23:45 |
Not Applicable |
Sorttbls.nlp |
Not Applicable |
20,320 |
12-Nov-2010 |
23:45 |
Not Applicable |
Xjis.nlp |
Not Applicable |
28,288 |
12-Nov-2010 |
23:45 |
Not Applicable |
Mscordacwks.dll |
2.0.50727.5719 |
990,480 |
07-Feb-2012 |
23:33 |
x86 |
Mscorwks.dll |
2.0.50727.5719 |
5,925,648 |
07-Feb-2012 |
23:33 |
x86 |
Sos.dll |
2.0.50727.5719 |
389,888 |
07-Feb-2012 |
23:34 |
x86 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about the ICryptoTransform interface, visit the following MSDN website: