message: Fix a potential bug in win32 process enumeration
diff: @@ -37,7 +37,6 @@ get_process_handle (const char *process_name_in)
  HANDLE hProcess;
  DWORD hCurrentProcessId = GetCurrentProcessId();
  - char process_name[4096];
  unsigned int i;
  DWORD length;
  @@ -51,6 +50,8 @@ get_process_handle (const char *process_name_in)
  if (!hProcess)
  continue;
  + char process_name[4096] = {0};
  +
  // The GetProcessImageFileName function returns the path in device form, rather than drive letters
  // https://msdn.microsoft.com/en-us/library/windows/desktop/ms683196%28v=vs.85%29.aspx
  // https://msdn.microsoft.com/en-us/library/windows/desktop/ms683217%28v=vs.85%29.aspx
  @@ -112,7 +113,6 @@ void shutdown_process (const char *name)
  int count_process (const char *process_name_in)
  {
  char name[MAX_PATH];
  - char process_name[MAX_PATH];
  DWORD aProcesses[1024], cbNeeded, cProcesses;
  HANDLE hProcess;
  DWORD length;
  @@ -140,6 +140,7 @@ int count_process (const char *process_name_in)
  continue;
  }
  + char process_name[4096] = {0};
  if (!(length = GetProcessImageFileName(hProcess, process_name, sizeof(process_name)))) {
  CloseHandle(hProcess);
  continue;
  