aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/crash_generation/client_info.cc
diff options
context:
space:
mode:
authordoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-05-08 18:15:07 +0000
committerdoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-05-08 18:15:07 +0000
commit7ab126ecdd5237ccd566f415cc560b39f87e8a0f (patch)
treee5663db8f6e6e5537ccea20e0bbd7c7afd35979d /src/client/windows/crash_generation/client_info.cc
parentSome style guide compliance changes and changed the prototype of the method t... (diff)
downloadbreakpad-7ab126ecdd5237ccd566f415cc560b39f87e8a0f.tar.xz
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
Diffstat (limited to 'src/client/windows/crash_generation/client_info.cc')
-rw-r--r--src/client/windows/crash_generation/client_info.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/windows/crash_generation/client_info.cc b/src/client/windows/crash_generation/client_info.cc
index 0da031c9..6d602744 100644
--- a/src/client/windows/crash_generation/client_info.cc
+++ b/src/client/windows/crash_generation/client_info.cc
@@ -169,8 +169,11 @@ bool ClientInfo::PopulateCustomInfo() {
return bytes_count == read_count;
}
-const CustomClientInfo& ClientInfo::GetCustomInfo() const {
- return custom_client_info_;
+CustomClientInfo ClientInfo::GetCustomInfo() const {
+ CustomClientInfo custom_info;
+ custom_info.entries = custom_info_entries_.get();
+ custom_info.count = custom_client_info_.count;
+ return custom_info;
}
} // namespace google_breakpad