mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-03 20:14:40 +02:00
Fix drag n drop documents crash between 2 instances
Fixes uninitialized CmdLineParamsDTO parameters: uninitialized _udlName could cause crash when drag&drop files between different Notepad++ instances. Fix #11976, close #11977
This commit is contained in:
parent
70660eb608
commit
2e66fe0007
@ -282,8 +282,8 @@ struct CmdLineParamsDTO
|
|||||||
intptr_t _pos2go = 0;
|
intptr_t _pos2go = 0;
|
||||||
|
|
||||||
LangType _langType = L_EXTERNAL;
|
LangType _langType = L_EXTERNAL;
|
||||||
wchar_t _udlName[MAX_PATH];
|
wchar_t _udlName[MAX_PATH] = {'\0'};
|
||||||
wchar_t _pluginMessage[MAX_PATH];
|
wchar_t _pluginMessage[MAX_PATH] = {'\0'};
|
||||||
|
|
||||||
static CmdLineParamsDTO FromCmdLineParams(const CmdLineParams& params)
|
static CmdLineParamsDTO FromCmdLineParams(const CmdLineParams& params)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user