FIX: An application may crash or may behave unexpectedly when it calls the SetWindowText function to change text in an Edit control in Windows CE .NET (843373)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

In Microsoft Windows CE .NET, an application that calls the SetWindowText function to change the text in an Edit control may crash or behave unexpectedly.

CAUSE

The SetWindowText function can overflow an internal buffer that is used by the Edit control. This overflow causes the application to crash or memory to be corrupted.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 843373. 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

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been installed.

Restart requirement

After you install this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart your computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update 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   Version    Size     File name
   -------------------------------------------------------------------------------
   Path: Signed
   14-Jul-2004  23:47  4.2.4.714  781,048  Wincepb42-040714-kb843373-armv4.exe  
   14-Jul-2004  23:47  4.2.4.714  781,048  Wincepb42-040714-kb843373-armv4i.exe  
   14-Jul-2004  23:47  4.2.4.714  781,048  Wincepb42-040714-kb843373-mipsii.exe  
   14-Jul-2004  23:47  4.2.4.714  781,048  Wincepb42-040714-kb843373-mipsii_fp.exe
   14-Jul-2004  23:47  4.2.4.714  785,144  Wincepb42-040714-kb843373-mipsiv.exe  
   14-Jul-2004  23:47  4.2.4.714  785,144  Wincepb42-040714-kb843373-mipsiv_fp.exe
   14-Jul-2004  23:47  4.2.4.714  776,952  Wincepb42-040714-kb843373-sh3.exe  
   14-Jul-2004  23:47  4.2.4.714  776,952  Wincepb42-040714-kb843373-sh4.exe  
   14-Jul-2004  23:47  4.2.4.714  748,280  Wincepb42-040714-kb843373-x86.exe  
The English version of this software update 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: Public\Common\Oak\Lib\Armv4\Debug
   01-Jul-2004  22:28  309,410  Edctl.lib

   Path: Public\Common\Oak\Lib\Armv4\Retail
   01-Jul-2004  22:28  266,768  Edctl.lib

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   01-Jul-2004  22:28  310,130  Edctl.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   01-Jul-2004  22:28  267,518  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   01-Jul-2004  22:28  291,378  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   01-Jul-2004  22:28  263,114  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   01-Jul-2004  22:28  291,388  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   01-Jul-2004  22:28  263,126  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   01-Jul-2004  22:28  295,788  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   01-Jul-2004  22:28  264,622  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   01-Jul-2004  22:28  295,798  Edctl.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   01-Jul-2004  22:28  264,634  Edctl.lib

   Path: Public\Common\Oak\Lib\Ntansi\Retail

   Path: Public\Common\Oak\Lib\Sh3\Debug
   01-Jul-2004  22:28  270,318  Edctl.lib

   Path: Public\Common\Oak\Lib\Sh3\Retail
   01-Jul-2004  22:28  228,848  Edctl.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   01-Jul-2004  22:28  270,292  Edctl.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   01-Jul-2004  22:28  228,434  Edctl.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   01-Jul-2004  22:28  233,396  Edctl.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   01-Jul-2004  22:28  207,468  Edctl.lib

STATUS

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

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB843373 kbAudOEM kbAudDeveloper