Consider the following scenario:
- On a Windows Server 2008-based or Windows Vista Service Pack 1 (SP1)-based computer, an application writes to a file on a local file share.
- This file is scanned by using memory-mapped files. This scanning process typically occurs when certain antivirus software is installed on the computer.
In this scenario, additional character spaces may be added to sections of the file. Therefore, the file becomes corrupted.