mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-10 22:35:41 +00:00
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
This commit is contained in:
parent
32d04cdbbc
commit
1cbdeae78d
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue