diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-04-17 04:15:30 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-04-17 04:15:30 +0000 |
commit | 9609db817334af05d7c32360d7d009d118c0c226 (patch) | |
tree | 9ca950336f20d1e2f751e7bd743dfddd38df56c4 /src/client | |
parent | As part of resolving issue 256 I'd like to check in some unit (diff) | |
download | breakpad-9609db817334af05d7c32360d7d009d118c0c226.tar.xz |
Fix a bug in start address calculation
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@261 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/mac/handler/dynamic_images.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/dynamic_images.cc b/src/client/mac/handler/dynamic_images.cc index b8a6f6c5..0d63d5a7 100644 --- a/src/client/mac/handler/dynamic_images.cc +++ b/src/client/mac/handler/dynamic_images.cc @@ -145,7 +145,7 @@ void* ReadTaskMemory(task_port_t target_task, // use the negative of the page size for the mask to find the page address mach_vm_address_t page_address = - reinterpret_cast<mach_vm_address_t>(address) && (-systemPageSize); + reinterpret_cast<mach_vm_address_t>(address) & (-systemPageSize); mach_vm_address_t last_page_address = (reinterpret_cast<mach_vm_address_t>(address) + length + |