FIX: Access violation when you call the ScanDisk module to scan the disks on a Windows Embedded Compact 7-based device

Symptoms

Assume that you have a Windows Embedded Compact 7-based image running on a device. When you call the ScanDisk module (scandisk.cpp) to scan the disks on the device, an access violation may occur, and the image may crash.

Note The ScanDisk module is located in the following path:
%_WINCEROOT%\PUBLIC\COMMON\OAK\DRIVERS\FSD\FATUTIL\MAIN

Cause

This issue occurs because an array index boundary of a variable is checked after the ScanDisk module accesses the array.

Resolution

Software update information

Download information

The Windows Embedded Compact 7 Monthly Update (July 2013) is now available from Microsoft. To download this Windows Embedded Compact 7 Monthly Update, go to the following Microsoft Download Center website: The kind of processor that each file applies to is visible in the name of each file in the "File information" section.

Prerequisites

This update is supported only if all previous updates for this product are installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.
File information

More Information

For more information about software update terminology, click the following article number to go to the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 2865059 - Last Review: Aug 12, 2013 - Revision: 1

Windows Embedded Compact 7

Feedback