Skip to content

Crash if trying to open existing file named "file." using notepad++ \\?\c:\file. #12453

@white-gthb

Description

@white-gthb

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

  1. In elevated command prompt execute: echo 123 > \\?\c:\file.
  2. 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions