Description of the Issue
Crash if trying to open an existing file with file name ending with a dot using notepad++ \\?\c:\file.
Steps to Reproduce the Issue
- In elevated command prompt execute: echo 123 > \\?\c:\file.
- Use Windows Run (⊞ Win+R) to execute: notepad++ \\?\c:\file.
-
Expected Behavior
Some error if this is not supported, but no crash.
Actual Behavior
Notepad++ crashes.
Debug Information
Notepad++ v8.4.6 (64-bit)
Build time : Sep 25 2022 - 19:51:39
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit)
OS Version : 22H2
OS Build : 22621.755
Current ANSI codepage : 1252
Plugins :
DSpellCheck (1.4.23)
HexEditor (0.9.12)
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)
Description of the Issue
Crash if trying to open an existing file with file name ending with a dot using notepad++ \\?\c:\file.
Steps to Reproduce the Issue
Expected Behavior
Some error if this is not supported, but no crash.
Actual Behavior
Notepad++ crashes.
Debug Information
Notepad++ v8.4.6 (64-bit)
Build time : Sep 25 2022 - 19:51:39
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit)
OS Version : 22H2
OS Build : 22621.755
Current ANSI codepage : 1252
Plugins :
DSpellCheck (1.4.23)
HexEditor (0.9.12)
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)