aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-07-21 21:38:01 +0000
committerjessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-07-21 21:38:01 +0000
commit1cbdeae78d3d70cc5a3d8de9477b9d93b9412b71 (patch)
treeddf2f3eed22a1cb5b6cde7f4652f66b2f06b6484
parentRemove curl/types.h include, since this header has been deprecated for a long... (diff)
downloadbreakpad-1cbdeae78d3d70cc5a3d8de9477b9d93b9412b71.tar.xz
Fix a sizeof(pointer) vs sizeof(pointee) issue caught by client.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@815 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/processor/cfi_frame_info-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/cfi_frame_info-inl.h b/src/processor/cfi_frame_info-inl.h
index e55e6ea2..7e7af0af 100644
--- a/src/processor/cfi_frame_info-inl.h
+++ b/src/processor/cfi_frame_info-inl.h
@@ -68,7 +68,7 @@ bool SimpleCFIWalker<RegisterType, RawContextType>::FindCallerRegisters(
// Populate *caller_context with the values the rules placed in
// caller_registers.
- memset(caller_context, 0xda, sizeof(caller_context));
+ memset(caller_context, 0xda, sizeof(*caller_context));
*caller_validity = 0;
for (size_t i = 0; i < map_size_; i++) {
const RegisterSet &r = register_map_[i];