BUG: IFSMGR_ParseOneElement Fails with Certain Character Combinations

ID: Q225489


The information in this article applies to:


SYMPTOMS

In the Installable File System Manager (IFSMGR) VxD for Windows 95 version 4.0.950 and later, the IFSMGR_ParseOneElement function fails under certain conditions. The failure of this function under prescribed conditions is evident in the original version of Windows 95 (version 4.0.950), and all subsequent versions of Windows up to and including the original version of Windows 98.

The problem is manifest by an error message and subsequent termination of the application that is trying to create or rename a file using certain character-string combinations in a file name. This failure can be demonstrated by executing the following commands from an MS-DOS command prompt under Windows:


cd  \ 
md ..a
cd ..a
cd . 
The above sequence causes the following message:
This program has performed an illegal operation and will be terminated. Quit all programs, and then restart your computer.
This problem occurs if the string is in either of the following two forms:


RESOLUTION

File system hook developers can intercept calls to IFSMGR_ParseOneElement and filter out strings of the above form. Any workaround should look for either two decimal points at the very beginning, or 1-n space characters followed by a decimal point.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:


Keywords          : kbDDK kbWinOS95 kbWinOS98 
Version           : WINDOWS:95,98; Win95:; Win98:
Platform          : Win95 WINDOWS Win98 
Issue type        : kbbug 

Last Reviewed: April 30, 1999