From 7ab126ecdd5237ccd566f415cc560b39f87e8a0f Mon Sep 17 00:00:00 2001 From: doshimun Date: Thu, 8 May 2008 18:15:07 +0000 Subject: Replace the user of wcscpy_s with safe_wcscpy in common/windows/string_utils-inl.h to make the code compatible for teams that still use VS 2003 to build. Fix a bug in client ClientInfo class that returned CustomClientInfo struct containing a pointer in the client process address space instead of pointer to in-process data structure. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@271 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/tests/crash_generation_app/crash_generation_app.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/windows/tests/crash_generation_app') diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc index e0cd2f04..7ed1021b 100644 --- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc +++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc @@ -35,7 +35,7 @@ namespace google_breakpad { const int kMaxLoadString = 100; -const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices-Testing"; +const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\S-1-5-21-39260824-743453154-142223018-195347"; const DWORD kEditBoxStyles = WS_CHILD | WS_VISIBLE | @@ -221,7 +221,7 @@ static void _cdecl ShowClientCrashed(void* context, QueueUserWorkItem(AppendTextWorker, line, WT_EXECUTEDEFAULT); - const CustomClientInfo& custom_info = client_info->GetCustomInfo(); + CustomClientInfo custom_info = client_info->GetCustomInfo(); if (custom_info.count <= 0) { return; } -- cgit v1.2.1