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;
|
||||
|
||||
LangType _langType = L_EXTERNAL;
|
||||
wchar_t _udlName[MAX_PATH];
|
||||
wchar_t _pluginMessage[MAX_PATH];
|
||||
wchar_t _udlName[MAX_PATH] = {'\0'};
|
||||
wchar_t _pluginMessage[MAX_PATH] = {'\0'};
|
||||
|
||||
static CmdLineParamsDTO FromCmdLineParams(const CmdLineParams& params)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue