mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-28 10:15:10 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue